Skip to content

Commit

Permalink
[S390] remove unused macros from binfmt_elf32.c
Browse files Browse the repository at this point in the history
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@de.ibm.com>
  • Loading branch information
Martin Schwidefsky committed Jun 29, 2006
1 parent 8e0474f commit 65b73c6
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions arch/s390/kernel/binfmt_elf32.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 65b73c6

Please sign in to comment.