summaryrefslogtreecommitdiffstats
path: root/fs/binfmt_elf.c
diff options
context:
space:
mode:
authorAlexey Dobriyan <adobriyan@gmail.com>2019-07-17 01:27:54 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2019-07-17 04:23:22 +0200
commitaa94b1dc5bca1c23d1a1f4110b4e77bfe88c0061 (patch)
treed8d09e4608ddb72470120ec7073a20c57ebd4354 /fs/binfmt_elf.c
parentfs/binfmt_flat.c: remove set but not used variable 'inode' (diff)
downloadlinux-aa94b1dc5bca1c23d1a1f4110b4e77bfe88c0061.tar.xz
linux-aa94b1dc5bca1c23d1a1f4110b4e77bfe88c0061.zip
fs/binfmt_elf.c: delete stale comment
"passed_fileno" variable was deleted 11 years ago in 2.6.25. Link: http://lkml.kernel.org/r/20190529201747.GA23248@avx2 Fixes: d20894a23708 ("Remove a.out interpreter support in ELF loader") Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to '')
-rw-r--r--fs/binfmt_elf.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/binfmt_elf.c b/fs/binfmt_elf.c
index 8264b468f283..d4e11b2e04f6 100644
--- a/fs/binfmt_elf.c
+++ b/fs/binfmt_elf.c
@@ -1127,7 +1127,6 @@ out_free_interp:
load_addr, interp_load_addr);
if (retval < 0)
goto out;
- /* N.B. passed_fileno might not be initialized? */
current->mm->end_code = end_code;
current->mm->start_code = start_code;
current->mm->start_data = start_data;