From: Christoph Egger Date: Wed, 14 Jul 2010 20:41:53 +0000 (-0700) Subject: eth_v10: Removing dead ETRAX_NETWORK_RED_ON_NO_CONNECTION X-Git-Tag: v2.6.36-rc1~571^2~234 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2cb8d9d1da282d4067a9b2dfbf8f7b0bab0c56e7;p=platform%2Fkernel%2Flinux-3.10.git eth_v10: Removing dead ETRAX_NETWORK_RED_ON_NO_CONNECTION ETRAX_NETWORK_RED_ON_NO_CONNECTION doesn't exist in Kconfig, therefore removing all references for it from the source code. Signed-off-by: Christoph Egger Signed-off-by: David S. Miller --- diff --git a/drivers/net/cris/eth_v10.c b/drivers/net/cris/eth_v10.c index 7e00027..81475cc 100644 --- a/drivers/net/cris/eth_v10.c +++ b/drivers/net/cris/eth_v10.c @@ -1702,11 +1702,7 @@ e100_set_network_leds(int active) if (!current_speed) { /* Make LED red, link is down */ -#if defined(CONFIG_ETRAX_NETWORK_RED_ON_NO_CONNECTION) - CRIS_LED_NETWORK_SET(CRIS_LED_RED); -#else CRIS_LED_NETWORK_SET(CRIS_LED_OFF); -#endif } else if (light_leds) { if (current_speed == 10) { CRIS_LED_NETWORK_SET(CRIS_LED_ORANGE);