]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[ARM] Fix warning in asm/futex.h
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Sun, 18 Sep 2005 20:11:08 +0000 (21:11 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 18 Sep 2005 20:11:08 +0000 (21:11 +0100)
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>
include/asm-arm/futex.h

index 2cac5ecd9d00b07132c0d4706141e0c342c0e4ac..9feff4ce1424bc390608326240be369eb13aa648 100644 (file)
@@ -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;