Skip to content

Commit 7a5f4f1

Browse files
todoreztorvalds
authored andcommitted
fs: binfmt_elf: remove unused defines INTERPRETER_NONE and INTERPRETER_ELF
These two defines are unused since the removal of the a.out interpreter support in the ELF loader in kernel 2.6.25 Signed-off-by: Todor Minchev <todor@minchev.co.uk> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent 98a9bba commit 7a5f4f1

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

‎fs/binfmt_elf.c‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -543,9 +543,6 @@ static unsigned long load_elf_interp(struct elfhdr *interp_elf_ex,
543543
* libraries. There is no binary dependent code anywhere else.
544544
*/
545545

546-
#define INTERPRETER_NONE 0
547-
#define INTERPRETER_ELF 2
548-
549546
#ifndef STACK_RND_MASK
550547
#define STACK_RND_MASK (0x7ff >> (PAGE_SHIFT - 12)) /* 8MB of VA */
551548
#endif

0 commit comments

Comments
 (0)