Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=8e09ffb60bbc2b49c06718d5a1252860c709a660
Commit:     8e09ffb60bbc2b49c06718d5a1252860c709a660
Parent:     a76f3a417a431eaf673323459357d8e684b52c49
Author:     Atsushi Nemoto <[EMAIL PROTECTED]>
AuthorDate: Thu Jun 14 00:56:31 2007 +0900
Committer:  Ralf Baechle <[EMAIL PROTECTED]>
CommitDate: Tue Jun 26 19:57:33 2007 +0200

    [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 <[EMAIL PROTECTED]>
    Signed-off-by: Ralf Baechle <[EMAIL PROTECTED]>
---
 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 ffe245b..d9e81af 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,
 
        if (cpu_has_llsc && R10000_LLSC_WAR) {
                unsigned long *m = ((unsigned long *) addr) + (nr >> 
SZLONG_LOG);
-               unsigned long temp, res;
+               unsigned long temp;
 
                __asm__ __volatile__(
                "       .set    mips3                                   \n"
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to