projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bc5e8fd
)
[ARM] Fix warning in asm/futex.h
author
Russell King
<rmk@dyn-67.arm.linux.org.uk>
Sun, 18 Sep 2005 20:11:08 +0000
(21:11 +0100)
committer
Russell 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
patch
|
blob
|
history
diff --git
a/include/asm-arm/futex.h
b/include/asm-arm/futex.h
index 2cac5ecd9d00b07132c0d4706141e0c342c0e4ac..9feff4ce1424bc390608326240be369eb13aa648 100644
(file)
--- 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;