From 4b9ced769177a9e7a96d0e98a09cb5e6b1d506da Mon Sep 17 00:00:00 2001 From: Adrian Bunk Date: Mon, 27 Aug 2007 23:29:21 +0200 Subject: [PATCH] [ARM] omap1/leds-innovator.c: remove dead code This patch removes dead code. Signed-off-by: Adrian Bunk Signed-off-by: Russell King --- arch/arm/mach-omap1/leds-innovator.c | 3 --- 1 file changed, 3 deletions(-) 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); } -- 2.39.5