From: Kawai, Hidehiro Date: Thu, 19 Jul 2007 08:48:30 +0000 (-0700) Subject: coredump masking: ELF-FDPIC: remove an unused argument X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=e2e00906a06f7e74c49ca0ca85b960f270c83d5e;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git coredump masking: ELF-FDPIC: remove an unused argument This patch removes an unused argument from elf_fdpic_dump_segments(). Signed-off-by: Hidehiro Kawai Cc: Alan Cox Cc: David Howells Cc: Hugh Dickins Cc: Nick Piggin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/fs/binfmt_elf_fdpic.c b/fs/binfmt_elf_fdpic.c index 4739506fb083..1a6c8e2eb1c5 100644 --- a/fs/binfmt_elf_fdpic.c +++ b/fs/binfmt_elf_fdpic.c @@ -1456,8 +1456,8 @@ static int elf_dump_thread_status(long signr, struct elf_thread_status *t) * dump the segments for an MMU process */ #ifdef CONFIG_MMU -static int elf_fdpic_dump_segments(struct file *file, struct mm_struct *mm, - size_t *size, unsigned long *limit) +static int elf_fdpic_dump_segments(struct file *file, size_t *size, + unsigned long *limit) { struct vm_area_struct *vma; @@ -1511,8 +1511,8 @@ end_coredump: * dump the segments for a NOMMU process */ #ifndef CONFIG_MMU -static int elf_fdpic_dump_segments(struct file *file, struct mm_struct *mm, - size_t *size, unsigned long *limit) +static int elf_fdpic_dump_segments(struct file *file, size_t *size, + unsigned long *limit) { struct vm_list_struct *vml;