[MIPS] PB1200: Remove duplicate definitions
Yoichi Yuasa [Wed, 1 Nov 2006 09:40:15 +0000 (18:40 +0900)]
Signed-off-by: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

arch/mips/au1000/pb1200/board_setup.c

index 8b953b9..043302b 100644 (file)
@@ -55,7 +55,7 @@
 #endif
 
 extern void _board_init_irq(void);
-extern void    (*board_init_irq)(void);
+extern void (*board_init_irq)(void);
 
 void board_reset (void)
 {
@@ -151,11 +151,7 @@ void __init board_setup(void)
 #endif
 
        /* Setup Pb1200 External Interrupt Controller */
-       {
-               extern void (*board_init_irq)(void);
-               extern void _board_init_irq(void);
-               board_init_irq = _board_init_irq;
-       }
+       board_init_irq = _board_init_irq;
 }
 
 int