Skip to content

Commit

Permalink
eth_v10: Removing dead ETRAX_NETWORK_RED_ON_NO_CONNECTION
Browse files Browse the repository at this point in the history
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 <siccegge@cs.fau.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Christoph Egger authored and David S. Miller committed Jul 14, 2010
1 parent ef3cf9f commit 2cb8d9d
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions drivers/net/cris/eth_v10.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 2cb8d9d

Please sign in to comment.