about summary refs log tree commit diff
diff options
context:
space:
mode:
authorLukasz Majewski <lukma@denx.de>2019-11-05 11:22:28 +0100
committerLukasz Majewski <lukma@denx.de>2019-11-05 17:58:05 +0100
commitf2e30cc0f89f348a154c5c09d21a1de561c7b2f8 (patch)
tree106ba802ad2873c7c97e81a8ba6c49f741ad801a
parent81a1fa6cbfef5ca33e7eeb11f8f9a528f4dc0117 (diff)
downloadglibc-f2e30cc0f89f348a154c5c09d21a1de561c7b2f8.tar.gz
glibc-f2e30cc0f89f348a154c5c09d21a1de561c7b2f8.tar.xz
glibc-f2e30cc0f89f348a154c5c09d21a1de561c7b2f8.zip
linux: pselect: Remove CALL_PSELECT6 macro
Nothing defines CALL_PSELECT6 in the current tree, so remove it.

Tested with:
- make PARALLELMFLAGS="-j8" && make xcheck PARALLELMFLAGS="-j8" (x86_64)
- scripts/build-many-glibcs.py
-rw-r--r--sysdeps/unix/sysv/linux/pselect.c11
1 files changed, 2 insertions, 9 deletions
diff --git a/sysdeps/unix/sysv/linux/pselect.c b/sysdeps/unix/sysv/linux/pselect.c
index d07d64114d..acda3e0cdd 100644
--- a/sysdeps/unix/sysv/linux/pselect.c
+++ b/sysdeps/unix/sysv/linux/pselect.c
@@ -59,15 +59,8 @@ __pselect (int nfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds,
   data.ss = (__syscall_ulong_t) (uintptr_t) sigmask;
   data.ss_len = _NSIG / 8;
 
-  int result;
-
-#ifndef CALL_PSELECT6
-# define CALL_PSELECT6(nfds, readfds, writefds, exceptfds, timeout, data) \
-  SYSCALL_CANCEL (pselect6, nfds, readfds, writefds, exceptfds,	timeout, data)
-#endif
-
-  result = CALL_PSELECT6 (nfds, readfds, writefds, exceptfds, timeout,
-			  &data);
+  int result = SYSCALL_CANCEL (pselect6, nfds, readfds, writefds, exceptfds,
+                               timeout, &data);
 
 # ifndef __ASSUME_PSELECT
   if (result == -1 && errno == ENOSYS)