diff options
author | Dmitri Vorobiev <dmitri.vorobiev@gmail.com> | 2008-01-24 17:52:54 +0100 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2008-01-29 11:15:05 +0100 |
commit | cd80d548594aae0ee915e01050279399cb14943b (patch) | |
tree | 070b429488257dccfb8b2990744f9af948baf810 /arch | |
parent | [MIPS] Malta, Atlas: move an extern function declaration to the header file (diff) | |
download | linux-cd80d548594aae0ee915e01050279399cb14943b.tar.xz linux-cd80d548594aae0ee915e01050279399cb14943b.zip |
[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')
-rw-r--r-- | arch/mips/mips-boards/malta/malta_int.c | 3 | ||||
-rw-r--r-- | arch/mips/mips-boards/malta/malta_setup.c | 3 |
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) irq = get_int(); if (irq < 0) { - return; /* interrupt has already been cleared */ + /* interrupt has already been cleared */ + return; } 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) #endif } #ifdef CONFIG_DMA_COHERENT - else { + else panic("Hardware DMA cache coherency not supported"); - } #endif #ifdef CONFIG_BLK_DEV_IDE |