linux: Remove __ASSUME_ATFCTS
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Tue, 25 Aug 2020 19:57:12 +0000 (16:57 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Wed, 2 Sep 2020 12:16:05 +0000 (09:16 -0300)
The __have_atfcts is not used anywhere.

Checked on x86_64-linux-gnu.

io/openat.c
sysdeps/unix/sysv/linux/kernel-features.h

index a7ce65b..2f5a9f0 100644 (file)
 #include <sys/stat.h>
 #include <kernel-features.h>
 
-/* Some mostly-generic code (e.g. sysdeps/posix/getcwd.c) uses this variable
-   if __ASSUME_ATFCTS is not defined.  */
-#ifndef __ASSUME_ATFCTS
-int __have_atfcts;
-#endif
 
 /* Open FILE with access OFLAG.  Interpret relative paths relative to
    the directory associated with FD.  If O_CREAT or O_TMPFILE is in OFLAG, a
index a6bbc3c..e648eec 100644 (file)
    SH this appeared first in 2.6.19-rc1, on ia64 in 2.6.22-rc1.  */
 #define __ASSUME_PSELECT       1
 
-/* The *at syscalls were introduced just after 2.6.16-rc1.  On PPC
-   they were introduced in 2.6.17-rc1, on SH in 2.6.19-rc1.  */
-#define __ASSUME_ATFCTS        1
-
 /* Support for inter-process robust mutexes was added in 2.6.17 (but
    some architectures lack futex_atomic_cmpxchg_inatomic in some
    configurations).  */