arm1136: Remove dead code
authorAlexander Stein <alexanders83@web.de>
Fri, 24 Jul 2015 07:22:09 +0000 (09:22 +0200)
committerLothar Waßmann <LW@KARO-electronics.de>
Thu, 10 Sep 2015 06:24:14 +0000 (08:24 +0200)
Apparently lcd_panel_disable is not defined anywhere, so no config for
an arm1136 board would have set CONFIG_LCD. Remove the unused code.

Signed-off-by: Alexander Stein <alexanders83@web.de>
Acked-by: Stephen Warren <swarren@wwwdotorg.org>
Tested-by: Stephen Warren <swarren@wwwdotorg.org>
arch/arm/cpu/arm1136/cpu.c

index a7aed4b..5d4b3c2 100644 (file)
@@ -32,16 +32,6 @@ int cleanup_before_linux (void)
 
        disable_interrupts ();
 
-#ifdef CONFIG_LCD
-       {
-               extern void lcd_disable(void);
-               extern void lcd_panel_disable(void);
-
-               lcd_disable(); /* proper disable of lcd & panel */
-               lcd_panel_disable();
-       }
-#endif
-
        /* turn off I/D-cache */
        icache_disable();
        dcache_disable();