sfc: Delete unused efx_blinker::led_num field
authorBen Hutchings <bhutchings@solarflare.com>
Fri, 27 Feb 2009 13:07:42 +0000 (13:07 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 2 Mar 2009 11:15:05 +0000 (03:15 -0800)
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/sfc/boards.c
drivers/net/sfc/net_driver.h

index 64903496aa9af1b256f0fcc062007f2cd8842472..12608750a9f5bf11b83f84d67aa9c05042471ff5 100644 (file)
@@ -194,7 +194,6 @@ static int sfe4002_init_leds(struct efx_nic *efx)
        xfp_set_led(efx, SFE4002_RX_LED,
                    QUAKE_LED_RXLINK | QUAKE_LED_LINK_ACTSTAT);
        xfp_set_led(efx, SFE4002_FAULT_LED, QUAKE_LED_OFF);
-       efx->board_info.blinker.led_num = SFE4002_FAULT_LED;
        return 0;
 }
 
index eb768fcb3cc8fcbf1d632b1decfc49720bde960b..ebc7b6340fb0ee04065728acd3fde36e791f3d10 100644 (file)
@@ -385,13 +385,11 @@ struct efx_channel {
 
 /**
  * struct efx_blinker - S/W LED blinking context
- * @led_num: LED ID (board-specific meaning)
  * @state: Current state - on or off
  * @resubmit: Timer resubmission flag
  * @timer: Control timer for blinking
  */
 struct efx_blinker {
-       int led_num;
        bool state;
        bool resubmit;
        struct timer_list timer;