mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 11:46:19 +00:00
[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>
This commit is contained in:
parent
045f147f32
commit
8de61e69c2
1 changed files with 1 additions and 2 deletions
|
@ -544,7 +544,7 @@ static int load_elf_binary(struct linux_binprm *bprm, struct pt_regs *regs)
|
||||||
unsigned long reloc_func_desc = 0;
|
unsigned long reloc_func_desc = 0;
|
||||||
char passed_fileno[6];
|
char passed_fileno[6];
|
||||||
struct files_struct *files;
|
struct files_struct *files;
|
||||||
int have_pt_gnu_stack, executable_stack = EXSTACK_DEFAULT;
|
int executable_stack = EXSTACK_DEFAULT;
|
||||||
unsigned long def_flags = 0;
|
unsigned long def_flags = 0;
|
||||||
struct {
|
struct {
|
||||||
struct elfhdr elf_ex;
|
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;
|
executable_stack = EXSTACK_DISABLE_X;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
have_pt_gnu_stack = (i < loc->elf_ex.e_phnum);
|
|
||||||
|
|
||||||
/* Some simple consistency checks for the interpreter */
|
/* Some simple consistency checks for the interpreter */
|
||||||
if (elf_interpreter) {
|
if (elf_interpreter) {
|
||||||
|
|
Loading…
Reference in a new issue