2005-09-02 14:15:48

by Yoichi Yuasa

[permalink] [raw]
Subject: [PATCH] mips: remove the unused variable about futex

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 <[email protected]>

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;