Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b4a44a69 authored by Ben Hutchings's avatar Ben Hutchings Committed by David S. Miller
Browse files

sfc: Delete unused efx_blinker::led_num field

parent d2d2c373
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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;
}

+0 −2
Original line number Diff line number Diff line
@@ -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;