Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

MIPS: Remove unused code from arch/mips/kernel/syscall.c

The variable arg3 in _sys_sysmips() is unused. Remove it.

Signed-off-by: David Daney <ddaney@caviumnetworks.com>
To: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/2034/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

authored by

David Daney and committed by
Ralf Baechle
7a6e4ca1 c726b822

+1 -2
+1 -2
arch/mips/kernel/syscall.c
··· 383 383 static int __used noinline 384 384 _sys_sysmips(nabi_no_regargs struct pt_regs regs) 385 385 { 386 - long cmd, arg1, arg2, arg3; 386 + long cmd, arg1, arg2; 387 387 388 388 cmd = regs.regs[4]; 389 389 arg1 = regs.regs[5]; 390 390 arg2 = regs.regs[6]; 391 - arg3 = regs.regs[7]; 392 391 393 392 switch (cmd) { 394 393 case MIPS_ATOMIC_SET: