diff options
author | Atsushi Nemoto <anemo@mba.ocn.ne.jp> | 2007-06-13 11:56:31 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2007-06-26 13:57:33 -0400 |
commit | 8e09ffb60bbc2b49c06718d5a1252860c709a660 (patch) | |
tree | 66fe6fe60f710eec58442b32c1edd83440c40177 /include | |
parent | a76f3a417a431eaf673323459357d8e684b52c49 (diff) |
[MIPS] Remove a duplicated local variable in test_and_clear_bit()
Fix a sparse warning caused by 2c921d07f8c641e691b0dfd80a5cfe14c60ec489
include2/asm/bitops.h:313:23: warning: symbol 'res' shadows an earlier one
include2/asm/bitops.h:309:16: originally declared here
Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-mips/bitops.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-mips/bitops.h b/include/asm-mips/bitops.h index ffe245b4258f..d9e81af53f78 100644 --- a/include/asm-mips/bitops.h +++ b/include/asm-mips/bitops.h | |||
@@ -310,7 +310,7 @@ static inline int test_and_clear_bit(unsigned long nr, | |||
310 | 310 | ||
311 | if (cpu_has_llsc && R10000_LLSC_WAR) { | 311 | if (cpu_has_llsc && R10000_LLSC_WAR) { |
312 | unsigned long *m = ((unsigned long *) addr) + (nr >> SZLONG_LOG); | 312 | unsigned long *m = ((unsigned long *) addr) + (nr >> SZLONG_LOG); |
313 | unsigned long temp, res; | 313 | unsigned long temp; |
314 | 314 | ||
315 | __asm__ __volatile__( | 315 | __asm__ __volatile__( |
316 | " .set mips3 \n" | 316 | " .set mips3 \n" |