From 7fd00f998042e04038619ddd4ec78a4e114217b5 Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Fri, 20 Jun 2014 20:04:33 +0000 Subject: Remove __ASSUME_F_GETOWN_EX. This patch removes __ASSUME_F_GETOWN_EX now it can be assumed to be true unconditionally. Tested x86_64 that disassembly of installed shared libraries is unchanged by this patch. * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_F_GETOWN_EX): Remove macro. * sysdeps/unix/sysv/linux/fcntl.c: Do not include . (miss_F_GETOWN_EX): Remove variable or macro. (do_fcntl): Do not check miss_F_GETOWN_EX. (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code. --- sysdeps/unix/sysv/linux/kernel-features.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'sysdeps/unix/sysv/linux/kernel-features.h') diff --git a/sysdeps/unix/sysv/linux/kernel-features.h b/sysdeps/unix/sysv/linux/kernel-features.h index 80655e0162..b39b295c9c 100644 --- a/sysdeps/unix/sysv/linux/kernel-features.h +++ b/sysdeps/unix/sysv/linux/kernel-features.h @@ -173,9 +173,6 @@ # define __ASSUME_REQUEUE_PI 1 #endif -/* Support for F_GETOWN_EX was introduced in 2.6.32. */ -#define __ASSUME_F_GETOWN_EX 1 - /* Support for recvmmsg functionality was added in 2.6.33. The macros defined correspond to those for accept4. */ #if __LINUX_KERNEL_VERSION >= 0x020621 && defined __ASSUME_SOCKETCALL -- cgit 1.4.1