staging: r8188eu: remove unnecessary assignment
The assignment "pLed->BlinkTimes = 0" is in a code path that is executed only if pLed->BlinkTimes is 0. Remove this unnecessary assignment. Signed-off-by: Michael Straube <straube.linux@gmail.com> Link: https://lore.kernel.org/r/20211017170629.13785-1-straube.linux@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
bef56d47b9
commit
679e0f8e41
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user