+ fs-remove-unused-variable.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     fs: remove unused variable
has been added to the -mm tree.  Its filename is
     fs-remove-unused-variable.patch

See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this

------------------------------------------------------
Subject: fs: remove unused variable
From: David Rientjes <rientjes@xxxxxxxxxxxxxxxxx>

Removed unused 'have_pt_gnu_stack' variable.

Reported by David Binderman <dcb314@xxxxxxxxxxx>

Signed-off-by: David Rientjes <rientjes@xxxxxxxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
---

 fs/binfmt_elf.c |    3 +--
 1 files changed, 1 insertion(+), 2 deletions(-)

diff -puN fs/binfmt_elf.c~fs-remove-unused-variable fs/binfmt_elf.c
--- a/fs/binfmt_elf.c~fs-remove-unused-variable
+++ a/fs/binfmt_elf.c
@@ -544,7 +544,7 @@ static int load_elf_binary(struct linux_
 	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_
 				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) {
_

Patches currently in -mm which might be from rientjes@xxxxxxxxxxxxxxxxx are

i386-msr-remove-unused-variable.patch
memory-page_alloc-zonelist-caching-speedup.patch
fs-remove-unused-variable.patch
video-sis-remove-unnecessary-variables-in-sis_ddc2delay.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux