From: Dmitry V. Levin Date: Mon, 21 Oct 2019 21:12:38 +0000 (+0000) Subject: tests/nsyscalls.c: remove redundant definition of SYSCALL_BIT X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2b046bd338a6f035132193a7eb787885c79649a8;p=strace tests/nsyscalls.c: remove redundant definition of SYSCALL_BIT Starting with commit v5.3~111, tests/nsyscalls.c includes "scno.h" which already defines SYSCALL_BIT where appropriate. * tests/nsyscalls.c (SYSCALL_BIT): Remove. --- diff --git a/tests/nsyscalls.c b/tests/nsyscalls.c index b4d2dd2b..1eb90071 100644 --- a/tests/nsyscalls.c +++ b/tests/nsyscalls.c @@ -28,13 +28,6 @@ static const struct_sysent syscallent[] = { # define DEBUG_PRINT 0 #endif -#if defined __X32_SYSCALL_BIT && defined __NR_read \ - && (__X32_SYSCALL_BIT & __NR_read) != 0 -# define SYSCALL_BIT __X32_SYSCALL_BIT -#else -# define SYSCALL_BIT 0 -#endif - #if DEBUG_PRINT static const char *strace_name; static FILE *debug_out;