aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/mips-boards
diff options
context:
space:
mode:
authorDmitri Vorobiev <dmitri.vorobiev@gmail.com>2008-01-24 11:52:54 -0500
committerRalf Baechle <ralf@linux-mips.org>2008-01-29 05:15:05 -0500
commitcd80d548594aae0ee915e01050279399cb14943b (patch)
tree070b429488257dccfb8b2990744f9af948baf810 /arch/mips/mips-boards
parentbbdda5e1fe9c1a5b34a2b552910f5f4c0dc24485 (diff)
[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 <dmitri.vorobiev@gmail.com> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/mips-boards')
-rw-r--r--arch/mips/mips-boards/malta/malta_int.c3
-rw-r--r--arch/mips/mips-boards/malta/malta_setup.c3
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 92e6e2d7b7f3..dbe60eb55e29 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)
114 114
115 irq = get_int(); 115 irq = get_int();
116 if (irq < 0) { 116 if (irq < 0) {
117 return; /* interrupt has already been cleared */ 117 /* interrupt has already been cleared */
118 return;
118 } 119 }
119 120
120 do_IRQ(MALTA_INT_BASE + irq); 121 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 8dacb6adb6db..8d62966dcabb 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)
202#endif 202#endif
203 } 203 }
204#ifdef CONFIG_DMA_COHERENT 204#ifdef CONFIG_DMA_COHERENT
205 else { 205 else
206 panic("Hardware DMA cache coherency not supported"); 206 panic("Hardware DMA cache coherency not supported");
207 }
208#endif 207#endif
209 208
210#ifdef CONFIG_BLK_DEV_IDE 209#ifdef CONFIG_BLK_DEV_IDE