]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[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 a0cd001ac39af1eabc29dfa1bb4158c55ef49715..e7835d6f53a0855d82e80265a22639a62fc9b3f7 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);
 }