From: Adrian Bunk Date: Mon, 27 Aug 2007 21:29:21 +0000 (+0200) Subject: [ARM] omap1/leds-innovator.c: remove dead code X-Git-Tag: v2.6.24-rc1~1273^2~25 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4b9ced769177a9e7a96d0e98a09cb5e6b1d506da;p=linux-2.6 [ARM] omap1/leds-innovator.c: remove dead code This patch removes dead code. Signed-off-by: Adrian Bunk Signed-off-by: Russell King --- diff --git a/arch/arm/mach-omap1/leds-innovator.c b/arch/arm/mach-omap1/leds-innovator.c index a0cd001ac3..e7835d6f53 100644 --- a/arch/arm/mach-omap1/leds-innovator.c +++ b/arch/arm/mach-omap1/leds-innovator.c @@ -95,8 +95,5 @@ void innovator_leds_event(led_event_t evt) break; } - if (led_state & LED_STATE_ENABLED) - ; - local_irq_restore(flags); }