"passed_fileno" variable was deleted 11 years ago in 2.6.25.

Fixes: d20894a23708 ("Remove a.out interpreter support in ELF loader")
Signed-off-by: Alexey Dobriyan <adobri...@gmail.com>
---

 fs/binfmt_elf.c |    1 -
 1 file changed, 1 deletion(-)

--- a/fs/binfmt_elf.c
+++ b/fs/binfmt_elf.c
@@ -1129,7 +1129,6 @@ static int load_elf_binary(struct linux_binprm *bprm)
                          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;

Reply via email to