Commit b16a52b9b5185176a8923476bebc2e0bc29148da

Authored by Alexander Stein
Committed by Tom Rini
1 parent 5c2cff85fc

arm1136: Remove dead code

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>

Showing 1 changed file with 0 additions and 10 deletions Side-by-side Diff

arch/arm/cpu/arm1136/cpu.c
... ... @@ -32,16 +32,6 @@
32 32  
33 33 disable_interrupts ();
34 34  
35   -#ifdef CONFIG_LCD
36   - {
37   - extern void lcd_disable(void);
38   - extern void lcd_panel_disable(void);
39   -
40   - lcd_disable(); /* proper disable of lcd & panel */
41   - lcd_panel_disable();
42   - }
43   -#endif
44   -
45 35 /* turn off I/D-cache */
46 36 icache_disable();
47 37 dcache_disable();