[ARM] omap1/leds-innovator.c: remove dead code
authorAdrian Bunk <bunk@kernel.org>
Mon, 27 Aug 2007 21:29:21 +0000 (23:29 +0200)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 12 Oct 2007 22:43:20 +0000 (23:43 +0100)
This patch removes dead code.

Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-omap1/leds-innovator.c

index a0cd001..e7835d6 100644 (file)
@@ -95,8 +95,5 @@ void innovator_leds_event(led_event_t evt)
                break;
        }
 
-       if (led_state & LED_STATE_ENABLED)
-               ;
-
        local_irq_restore(flags);
 }