OSDN Git Service

MIPS: Remove unused sys_32_mmap2
authorPaul Burton <paul.burton@mips.com>
Wed, 1 Aug 2018 20:15:17 +0000 (13:15 -0700)
committerPaul Burton <paul.burton@mips.com>
Wed, 1 Aug 2018 20:20:21 +0000 (13:20 -0700)
commit3a1c0fc5927f001d2c70998c08cad42ee5f64849
treeaff0556000f5f82b9049454532cef57459ed4448
parent96a68b14db358c310e1c5cc5229752845192c1fa
MIPS: Remove unused sys_32_mmap2

The sys_32_mmap2 function has been unused since we started using syscall
wrappers in commit dbda6ac08976 ("MIPS: CVE-2009-0029: Enable syscall
wrappers."), and is indeed identical to the sys_mips_mmap2 function that
replaced it in sys32_call_table.

Remove the dead code.

Signed-off-by: Paul Burton <paul.burton@mips.com>
Patchwork: https://patchwork.linux-mips.org/patch/20107/
Cc: James Hogan <jhogan@kernel.org>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: linux-mips@linux-mips.org
arch/mips/kernel/linux32.c