From: Russell King Date: Sun, 18 Sep 2005 20:11:08 +0000 (+0100) Subject: [ARM] Fix warning in asm/futex.h X-Git-Tag: v2.6.14-rc2~5^2^2~3 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=7f8c0fd78dccaf30e60cb4303bd7a21c7d9e6da3;p=~shefty%2Frdma-dev.git [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 --- 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;