linux-mips
[Top] [All Lists]

[PATCH 2/4] MIPS: Remove unused code from arch/mips/kernel/syscall.c

To: linux-mips@linux-mips.org, ralf@linux-mips.org
Subject: [PATCH 2/4] MIPS: Remove unused code from arch/mips/kernel/syscall.c
From: David Daney <ddaney@caviumnetworks.com>
Date: Mon, 24 Jan 2011 14:51:35 -0800
Cc: David Daney <ddaney@caviumnetworks.com>
In-reply-to: <1295909497-23317-1-git-send-email-ddaney@caviumnetworks.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <1295909497-23317-1-git-send-email-ddaney@caviumnetworks.com>
Sender: linux-mips-bounce@linux-mips.org
The variable arg3 in _sys_sysmips() is unused.  Remove it.

Signed-off-by: David Daney <ddaney@caviumnetworks.com>
---
 arch/mips/kernel/syscall.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/arch/mips/kernel/syscall.c b/arch/mips/kernel/syscall.c
index 80d753d..0de1402 100644
--- a/arch/mips/kernel/syscall.c
+++ b/arch/mips/kernel/syscall.c
@@ -386,12 +386,11 @@ save_static_function(sys_sysmips);
 static int __used noinline
 _sys_sysmips(nabi_no_regargs struct pt_regs regs)
 {
-       long cmd, arg1, arg2, arg3;
+       long cmd, arg1, arg2;
 
        cmd = regs.regs[4];
        arg1 = regs.regs[5];
        arg2 = regs.regs[6];
-       arg3 = regs.regs[7];
 
        switch (cmd) {
        case MIPS_ATOMIC_SET:
-- 
1.7.2.3


<Prev in Thread] Current Thread [Next in Thread>