提交 cd80d548 编写于 作者: D Dmitri Vorobiev 提交者: Ralf Baechle

[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: NDmitri Vorobiev <dmitri.vorobiev@gmail.com>
Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
上级 bbdda5e1
......@@ -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);
......
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册