]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
[MIPS] Malta: fix braces at single statement blocks
authorDmitri Vorobiev <dmitri.vorobiev@gmail.com>
Thu, 24 Jan 2008 16:52:54 +0000 (19:52 +0300)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 29 Jan 2008 10:15:05 +0000 (10:15 +0000)
This patch fixes a couple of warnings reported by checkpatch.pl.

No functional changes introduced.

Signed-off-by: Dmitri Vorobiev <dmitri.vorobiev@gmail.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/mips-boards/malta/malta_int.c
arch/mips/mips-boards/malta/malta_setup.c

index 92e6e2d7b7f34c5d9efca83d1693d179f82e6a6f..dbe60eb55e2962c4e40d5ae7f8322514c63c21f7 100644 (file)
@@ -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);
index 8dacb6adb6db816abaa7a981312eddce0a2f68cf..8d62966dcabbb3421f535d0fd112a6e856ee72b6 100644 (file)
@@ -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