public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [2.6 patch] omap1/leds-innovator.c: remove dead code
@ 2007-08-27 21:29 Adrian Bunk
  0 siblings, 0 replies; only message in thread
From: Adrian Bunk @ 2007-08-27 21:29 UTC (permalink / raw)
  To: rmk; +Cc: linux-kernel

This patch removes dead code.

Signed-off-by: Adrian Bunk <bunk@kernel.org>

---
327cae41c436186c6c480b0b8d5f125ab26b6b7c 
diff --git a/arch/arm/mach-omap1/leds-innovator.c b/arch/arm/mach-omap1/leds-innovator.c
index a0cd001..e7835d6 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);
 }


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2007-08-27 21:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-27 21:29 [2.6 patch] omap1/leds-innovator.c: remove dead code Adrian Bunk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox