linux-mips
[Top] [All Lists]

[PATCH]: Remove 2 unused variables

To: Ralf Baechle <ralf@linux-mips.org>, mipslist <linux-mips@linux-mips.org>
Subject: [PATCH]: Remove 2 unused variables
From: Juan Quintela <quintela@mandrakesoft.com>
Date: 19 Dec 2002 21:02:57 +0100
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
Hi
        errno and p are not used in that function at all.

Later, Juan.

Index: arch/mips64/kernel/syscall.c
===================================================================
RCS file: /home/cvs/linux/arch/mips64/kernel/syscall.c,v
retrieving revision 1.16.2.7
diff -u -r1.16.2.7 syscall.c
--- arch/mips64/kernel/syscall.c        5 Aug 2002 23:53:36 -0000       1.16.2.7
+++ arch/mips64/kernel/syscall.c        19 Dec 2002 19:48:43 -0000
@@ -189,9 +189,8 @@
 asmlinkage int
 sys_sysmips(int cmd, long arg1, int arg2, int arg3)
 {
-       int     *p;
        char    *name;
-       int     tmp, len, errno;
+       int     tmp, len;
 
        switch(cmd) {
        case SETNAME: {


-- 
In theory, practice and theory are the same, but in practice they 
are different -- Larry McVoy

<Prev in Thread] Current Thread [Next in Thread>
  • [PATCH]: Remove 2 unused variables, Juan Quintela <=