[patch] s390: remove unused macros from binfmt_elf32.c

From: Martin Schwidefsky
Date: Wed Jun 28 2006 - 10:13:17 EST


From: Martin Schwidefsky <schwidefsky@xxxxxxxxxx>

[S390] remove unused macros from binfmt_elf32.c

The two macros NEW_TO_OLD_UID and NEW_TO_OLD_GID in binfmt_elf32.c
are not used by any code. Remove them.

Signed-off-by: Martin Schwidefsky <schwidefsky@xxxxxxxxxx>
---

arch/s390/kernel/binfmt_elf32.c | 5 -----
1 files changed, 5 deletions(-)

diff -urpN linux-2.6/arch/s390/kernel/binfmt_elf32.c linux-2.6-patched/arch/s390/kernel/binfmt_elf32.c
--- linux-2.6/arch/s390/kernel/binfmt_elf32.c 2006-06-18 03:49:35.000000000 +0200
+++ linux-2.6-patched/arch/s390/kernel/binfmt_elf32.c 2006-06-28 14:43:52.000000000 +0200
@@ -177,11 +177,6 @@ struct elf_prpsinfo32

#include <linux/highuid.h>

-#undef NEW_TO_OLD_UID
-#undef NEW_TO_OLD_GID
-#define NEW_TO_OLD_UID(uid) ((uid) > 65535) ? (u16)overflowuid : (u16)(uid)
-#define NEW_TO_OLD_GID(gid) ((gid) > 65535) ? (u16)overflowgid : (u16)(gid)
-
#define elf_addr_t u32
/*
#define init_elf_binfmt init_elf32_binfmt
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/