Skip to content

Commit

Permalink
[MIPS] Malta: fix braces at single statement blocks
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Dmitri Vorobiev authored and Ralf Baechle committed Jan 29, 2008
1 parent bbdda5e commit cd80d54
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 2 additions & 1 deletion arch/mips/mips-boards/malta/malta_int.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
3 changes: 1 addition & 2 deletions arch/mips/mips-boards/malta/malta_setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit cd80d54

Please sign in to comment.