[PATCH] mips: remove the unused variable about futex

From: Yoichi Yuasa
Date: Fri Sep 02 2005 - 09:16:11 EST


Hi,

This patch has removed the unused variable about futex.
Please apply.

Yoichi

CC kernel/futex.o
In file included from kernel/futex.c:43:
include/asm/futex.h: In function `futex_atomic_op_inuser':
include/asm/futex.h:17: warning: unused variable `tem'


Signed-off-by: Yoichi Yuasa <yuasa@xxxxxxxxxxxxxx>

diff -urN -X dontdiff mm1-orig/include/asm-mips/futex.h mm1/include/asm-mips/futex.h
--- mm1-orig/include/asm-mips/futex.h 2005-09-01 21:58:47.000000000 +0900
+++ mm1/include/asm-mips/futex.h 2005-09-02 23:04:03.000000000 +0900
@@ -14,7 +14,7 @@
int cmp = (encoded_op >> 24) & 15;
int oparg = (encoded_op << 8) >> 20;
int cmparg = (encoded_op << 20) >> 20;
- int oldval = 0, ret, tem;
+ int oldval = 0, ret;
if (encoded_op & (FUTEX_OP_OPARG_SHIFT << 28))
oparg = 1 << oparg;

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/