staging: r8188eu: remove unnecessary asignment
PATCH 1/1 staging: r8188eu: remove unnecessary asignment
The asignment "pLed->BlinkTimes = 0" is in a code path that is executed only if pLed->BlinkTimes is 0. Remove this unnecessary asignment.
Signed-off-by Michael Straube <[email protected]>
--- drivers/staging/r8188eu/core/rtw_led.c | 1 - 1 file changed, 1 deletion(-)
drivers/staging/r8188eu/core/rtw_led.c +0 -1
@@ -142,7 +142,6 @@ static void SwLedBlink1(struct LED_871x *pLed) pLed->BlinkingLedState =RTW_LED_ON ;_set_timer (&pLed->BlinkTimer,LED_BLINK_NO_LINK_INTERVAL_ALPHA ); } - pLed->BlinkTimes =0 ; pLed->bLedBlinkInProgress = false; }else {if (pLed->bLedOn)
Signature · 1 line
2.33.0