mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-19 02:34:01 +08:00
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>
This commit is contained in:
parent
d2d2c37314
commit
b4a44a6987
@ -194,7 +194,6 @@ static int sfe4002_init_leds(struct efx_nic *efx)
|
|||||||
xfp_set_led(efx, SFE4002_RX_LED,
|
xfp_set_led(efx, SFE4002_RX_LED,
|
||||||
QUAKE_LED_RXLINK | QUAKE_LED_LINK_ACTSTAT);
|
QUAKE_LED_RXLINK | QUAKE_LED_LINK_ACTSTAT);
|
||||||
xfp_set_led(efx, SFE4002_FAULT_LED, QUAKE_LED_OFF);
|
xfp_set_led(efx, SFE4002_FAULT_LED, QUAKE_LED_OFF);
|
||||||
efx->board_info.blinker.led_num = SFE4002_FAULT_LED;
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -385,13 +385,11 @@ struct efx_channel {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* struct efx_blinker - S/W LED blinking context
|
* struct efx_blinker - S/W LED blinking context
|
||||||
* @led_num: LED ID (board-specific meaning)
|
|
||||||
* @state: Current state - on or off
|
* @state: Current state - on or off
|
||||||
* @resubmit: Timer resubmission flag
|
* @resubmit: Timer resubmission flag
|
||||||
* @timer: Control timer for blinking
|
* @timer: Control timer for blinking
|
||||||
*/
|
*/
|
||||||
struct efx_blinker {
|
struct efx_blinker {
|
||||||
int led_num;
|
|
||||||
bool state;
|
bool state;
|
||||||
bool resubmit;
|
bool resubmit;
|
||||||
struct timer_list timer;
|
struct timer_list timer;
|
||||||
|
Loading…
Reference in New Issue
Block a user