Remove unused constants. No code changes

* syscall.c: Remove unused ENOIOCTLCMD constant. Fix indentation.
* util.c: Remove unused CLONE_STOPPED constant.

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko 2012-03-17 03:17:15 +01:00
parent 081533c100
commit 3da9693b81
2 changed files with 4 additions and 10 deletions

View File

@ -68,16 +68,13 @@
#ifndef ERESTARTSYS
# define ERESTARTSYS 512
#endif
# ifndef ERESTARTNOINTR
#ifndef ERESTARTNOINTR
# define ERESTARTNOINTR 513
#endif
# ifndef ERESTARTNOHAND
# define ERESTARTNOHAND 514 /* restart if no handler.. */
#ifndef ERESTARTNOHAND
# define ERESTARTNOHAND 514 /* restart if no handler */
#endif
# ifndef ENOIOCTLCMD
# define ENOIOCTLCMD 515 /* No ioctl command */
#endif
# ifndef ERESTART_RESTARTBLOCK
#ifndef ERESTART_RESTARTBLOCK
# define ERESTART_RESTARTBLOCK 516 /* restart by calling sys_restart_syscall */
#endif

3
util.c
View File

@ -1165,9 +1165,6 @@ printcall(struct tcb *tcp)
#ifndef CLONE_VM
# define CLONE_VM 0x00000100
#endif
#ifndef CLONE_STOPPED
# define CLONE_STOPPED 0x02000000
#endif
static int
change_syscall(struct tcb *tcp, int new)