aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRussell King <rmk@dyn-67.arm.linux.org.uk>2005-09-18 21:11:08 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2005-09-18 21:11:08 +0100
commit7f8c0fd78dccaf30e60cb4303bd7a21c7d9e6da3 (patch)
treef37600534663ad366f7c5939b5c896367e54a9c4
parentbc5e8fdfc622b03acf5ac974a1b8b26da6511c99 (diff)
[ARM] Fix warning in asm/futex.h
The recently added futex.h contains an unused variable, which gcc naturally warns about. Remove this unused variable. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
-rw-r--r--include/asm-arm/futex.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-arm/futex.h b/include/asm-arm/futex.h
index 2cac5ecd9d0..9feff4ce142 100644
--- a/include/asm-arm/futex.h
+++ b/include/asm-arm/futex.h
@@ -14,7 +14,7 @@ futex_atomic_op_inuser (int encoded_op, int __user *uaddr)
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;