From: Alexander Stein Date: Fri, 24 Jul 2015 07:22:09 +0000 (+0200) Subject: arm1136: Remove dead code X-Git-Tag: KARO-TX6-2015-09-18~462 X-Git-Url: https://git.kernelconcepts.de/?p=karo-tx-uboot.git;a=commitdiff_plain;h=fbc345f4ee515536c699b0e8d80a073f48e552ca 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 Acked-by: Stephen Warren Tested-by: Stephen Warren --- diff --git a/arch/arm/cpu/arm1136/cpu.c b/arch/arm/cpu/arm1136/cpu.c index a7aed4b2b7..5d4b3c2a02 100644 --- a/arch/arm/cpu/arm1136/cpu.c +++ b/arch/arm/cpu/arm1136/cpu.c @@ -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();