Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=cd80d548594aae0ee915e01050279399cb14943b
Commit:     cd80d548594aae0ee915e01050279399cb14943b
Parent:     bbdda5e1fe9c1a5b34a2b552910f5f4c0dc24485
Author:     Dmitri Vorobiev <[EMAIL PROTECTED]>
AuthorDate: Thu Jan 24 19:52:54 2008 +0300
Committer:  Ralf Baechle <[EMAIL PROTECTED]>
CommitDate: Tue Jan 29 10:15:05 2008 +0000

    [MIPS] Malta: fix braces at single statement blocks
    
    This patch fixes a couple of warnings reported by checkpatch.pl.
    
    No functional changes introduced.
    
    Signed-off-by: Dmitri Vorobiev <[EMAIL PROTECTED]>
    Signed-off-by: Ralf Baechle <[EMAIL PROTECTED]>
---
 arch/mips/mips-boards/malta/malta_int.c   |    3 ++-
 arch/mips/mips-boards/malta/malta_setup.c |    3 +--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/arch/mips/mips-boards/malta/malta_int.c 
b/arch/mips/mips-boards/malta/malta_int.c
index 92e6e2d..dbe60eb 100644
--- a/arch/mips/mips-boards/malta/malta_int.c
+++ b/arch/mips/mips-boards/malta/malta_int.c
@@ -114,7 +114,8 @@ static void malta_hw0_irqdispatch(void)
 
        irq = get_int();
        if (irq < 0) {
-               return;  /* interrupt has already been cleared */
+               /* interrupt has already been cleared */
+               return;
        }
 
        do_IRQ(MALTA_INT_BASE + irq);
diff --git a/arch/mips/mips-boards/malta/malta_setup.c 
b/arch/mips/mips-boards/malta/malta_setup.c
index 8dacb6a..8d62966 100644
--- a/arch/mips/mips-boards/malta/malta_setup.c
+++ b/arch/mips/mips-boards/malta/malta_setup.c
@@ -202,9 +202,8 @@ void __init plat_mem_setup(void)
 #endif
        }
 #ifdef CONFIG_DMA_COHERENT
-       else {
+       else
                panic("Hardware DMA cache coherency not supported");
-       }
 #endif
 
 #ifdef CONFIG_BLK_DEV_IDE
-
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