aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/sfc
diff options
context:
space:
mode:
authorBen Hutchings <bhutchings@solarflare.com>2009-02-27 08:07:42 -0500
committerDavid S. Miller <davem@davemloft.net>2009-03-02 06:15:05 -0500
commitb4a44a69877960e620461c663805f7cc52e2a798 (patch)
tree38f1a8b953a321341c4a26ceb7b1a61cb1c2530d /drivers/net/sfc
parentd2d2c3731474614bff5cf47a605e59e847882f5d (diff)
sfc: Delete unused efx_blinker::led_num field
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/sfc')
-rw-r--r--drivers/net/sfc/boards.c1
-rw-r--r--drivers/net/sfc/net_driver.h2
2 files changed, 0 insertions, 3 deletions
diff --git a/drivers/net/sfc/boards.c b/drivers/net/sfc/boards.c
index 64903496aa9a..12608750a9f5 100644
--- a/drivers/net/sfc/boards.c
+++ b/drivers/net/sfc/boards.c
@@ -194,7 +194,6 @@ static int sfe4002_init_leds(struct efx_nic *efx)
194 xfp_set_led(efx, SFE4002_RX_LED, 194 xfp_set_led(efx, SFE4002_RX_LED,
195 QUAKE_LED_RXLINK | QUAKE_LED_LINK_ACTSTAT); 195 QUAKE_LED_RXLINK | QUAKE_LED_LINK_ACTSTAT);
196 xfp_set_led(efx, SFE4002_FAULT_LED, QUAKE_LED_OFF); 196 xfp_set_led(efx, SFE4002_FAULT_LED, QUAKE_LED_OFF);
197 efx->board_info.blinker.led_num = SFE4002_FAULT_LED;
198 return 0; 197 return 0;
199} 198}
200 199
diff --git a/drivers/net/sfc/net_driver.h b/drivers/net/sfc/net_driver.h
index eb768fcb3cc8..ebc7b6340fb0 100644
--- a/drivers/net/sfc/net_driver.h
+++ b/drivers/net/sfc/net_driver.h
@@ -385,13 +385,11 @@ struct efx_channel {
385 385
386/** 386/**
387 * struct efx_blinker - S/W LED blinking context 387 * struct efx_blinker - S/W LED blinking context
388 * @led_num: LED ID (board-specific meaning)
389 * @state: Current state - on or off 388 * @state: Current state - on or off
390 * @resubmit: Timer resubmission flag 389 * @resubmit: Timer resubmission flag
391 * @timer: Control timer for blinking 390 * @timer: Control timer for blinking
392 */ 391 */
393struct efx_blinker { 392struct efx_blinker {
394 int led_num;
395 bool state; 393 bool state;
396 bool resubmit; 394 bool resubmit;
397 struct timer_list timer; 395 struct timer_list timer;