]> granicus.if.org Git - strace/commitdiff
ipc.c: remove unnecesarry #ifdef IPC_64
authorElvira Khabirova <lineprinter0@gmail.com>
Mon, 17 Aug 2015 19:48:43 +0000 (22:48 +0300)
committerDmitry V. Levin <ldv@altlinux.org>
Tue, 18 Aug 2015 07:48:37 +0000 (07:48 +0000)
* ipc.c (PRINTCTL): Remove #ifdef IPC_64 check as IPC_64 is always
defined at this point.

ipc.c

diff --git a/ipc.c b/ipc.c
index 27d8c8035814e266fc9b6c0b9406311c542df576..c868e607c9781855fe5750d7ebaa4a8618ac8a2c 100644 (file)
--- a/ipc.c
+++ b/ipc.c
@@ -65,13 +65,9 @@ SYS_FUNC(msgget)
        return RVAL_DECODED;
 }
 
-#ifdef IPC_64
-# define PRINTCTL(flagset, arg, dflt) \
+#define PRINTCTL(flagset, arg, dflt) \
        if ((arg) & IPC_64) tprints("IPC_64|"); \
        printxval((flagset), (arg) &~ IPC_64, dflt)
-#else
-# define PRINTCTL printxval
-#endif
 
 static int
 indirect_ipccall(struct tcb *tcp)