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>
irq = get_int();
if (irq < 0) {
- return; /* interrupt has already been cleared */
+ /* interrupt has already been cleared */
+ return;
}
do_IRQ(MALTA_INT_BASE + irq);
#endif
}
#ifdef CONFIG_DMA_COHERENT
- else {
+ else
panic("Hardware DMA cache coherency not supported");
- }
#endif
#ifdef CONFIG_BLK_DEV_IDE