diff options
author | David Rientjes <rientjes@cs.washington.edu> | 2006-12-06 20:40:16 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.osdl.org> | 2006-12-07 08:39:44 -0800 |
commit | 8de61e69c2feb10e5391cca67a3faf1d2bf77ce0 (patch) | |
tree | e16999ca73e4095e2e7112608a57342e816eac70 /fs | |
parent | 045f147f3290395661b56b9231fc4d221e150963 (diff) | |
download | linux-3.10-8de61e69c2feb10e5391cca67a3faf1d2bf77ce0.tar.gz linux-3.10-8de61e69c2feb10e5391cca67a3faf1d2bf77ce0.tar.bz2 linux-3.10-8de61e69c2feb10e5391cca67a3faf1d2bf77ce0.zip |
[PATCH] fs: remove unused variable
Removed unused 'have_pt_gnu_stack' variable.
Reported by David Binderman <dcb314@hotmail.com>
Signed-off-by: David Rientjes <rientjes@cs.washington.edu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/binfmt_elf.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/binfmt_elf.c b/fs/binfmt_elf.c index 14ea630a857..be5869d3499 100644 --- a/fs/binfmt_elf.c +++ b/fs/binfmt_elf.c @@ -544,7 +544,7 @@ static int load_elf_binary(struct linux_binprm *bprm, struct pt_regs *regs) unsigned long reloc_func_desc = 0; char passed_fileno[6]; struct files_struct *files; - int have_pt_gnu_stack, executable_stack = EXSTACK_DEFAULT; + int executable_stack = EXSTACK_DEFAULT; unsigned long def_flags = 0; struct { struct elfhdr elf_ex; @@ -707,7 +707,6 @@ static int load_elf_binary(struct linux_binprm *bprm, struct pt_regs *regs) executable_stack = EXSTACK_DISABLE_X; break; } - have_pt_gnu_stack = (i < loc->elf_ex.e_phnum); /* Some simple consistency checks for the interpreter */ if (elf_interpreter) { |