[MIPS] Malta: else should follow close brace in malta_int.c
authorDmitri Vorobiev <dmitri.vorobiev@gmail.com>
Thu, 24 Jan 2008 16:52:51 +0000 (19:52 +0300)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 29 Jan 2008 10:15:04 +0000 (10:15 +0000)
This patch fixes two errors 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>
arch/mips/mips-boards/malta/malta_int.c

index a2689129798a6faa7fed91c4d47ab8e804efc0f4..2473a77cea606c9fdbe52bcf1a2366b95b63af27 100644 (file)
@@ -329,8 +329,7 @@ void __init arch_init_irq(void)
                set_vi_handler(MSC01E_INT_COREHI, corehi_irqdispatch);
                setup_irq(MSC01E_INT_BASE+MSC01E_INT_I8259A, &i8259irq);
                setup_irq(MSC01E_INT_BASE+MSC01E_INT_COREHI, &corehi_irqaction);
-       }
-       else if (cpu_has_vint) {
+       } else if (cpu_has_vint) {
                set_vi_handler(MIPSCPU_INT_I8259A, malta_hw0_irqdispatch);
                set_vi_handler(MIPSCPU_INT_COREHI, corehi_irqdispatch);
 #ifdef CONFIG_MIPS_MT_SMTC
@@ -355,8 +354,7 @@ void __init arch_init_irq(void)
                setup_irq(MIPS_CPU_IRQ_BASE+MIPSCPU_INT_COREHI,
                                                &corehi_irqaction);
 #endif /* CONFIG_MIPS_MT_SMTC */
-       }
-       else {
+       } else {
                setup_irq(MIPS_CPU_IRQ_BASE+MIPSCPU_INT_I8259A, &i8259irq);
                setup_irq(MIPS_CPU_IRQ_BASE+MIPSCPU_INT_COREHI,
                                                &corehi_irqaction);