diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2005-09-18 20:11:08 (GMT) |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2005-09-18 20:11:08 (GMT) |
commit | 7f8c0fd78dccaf30e60cb4303bd7a21c7d9e6da3 (patch) | |
tree | f37600534663ad366f7c5939b5c896367e54a9c4 | |
parent | bc5e8fdfc622b03acf5ac974a1b8b26da6511c99 (diff) | |
download | linux-fsl-qoriq-7f8c0fd78dccaf30e60cb4303bd7a21c7d9e6da3.tar.xz |
[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.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-arm/futex.h b/include/asm-arm/futex.h index 2cac5ec..9feff4c 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; |