[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>
This commit is contained in:
Dmitri Vorobiev 2008-01-24 19:52:54 +03:00 committed by Ralf Baechle
parent bbdda5e1fe
commit cd80d54859
2 changed files with 3 additions and 3 deletions

View file

@ -114,7 +114,8 @@ static void malta_hw0_irqdispatch(void)
irq = get_int(); irq = get_int();
if (irq < 0) { if (irq < 0) {
return; /* interrupt has already been cleared */ /* interrupt has already been cleared */
return;
} }
do_IRQ(MALTA_INT_BASE + irq); do_IRQ(MALTA_INT_BASE + irq);

View file

@ -202,9 +202,8 @@ void __init plat_mem_setup(void)
#endif #endif
} }
#ifdef CONFIG_DMA_COHERENT #ifdef CONFIG_DMA_COHERENT
else { else
panic("Hardware DMA cache coherency not supported"); panic("Hardware DMA cache coherency not supported");
}
#endif #endif
#ifdef CONFIG_BLK_DEV_IDE #ifdef CONFIG_BLK_DEV_IDE