staging: r8188eu: remove bLedLinkBlinkInProgress
authorMartin Kaiser <martin@kaiser.cx>
Sat, 1 Oct 2022 17:06:18 +0000 (19:06 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 20 Oct 2022 15:18:45 +0000 (17:18 +0200)
commitfebdb8eea98b1c506cf8624531a334e507c4a771
treec33f5092222963a9cf1227bd96f221c50f328fa1
parentfd22186003a98daaab1ea08aaa177c041fdaa649
staging: r8188eu: remove bLedLinkBlinkInProgress

Remove the bLedLinkBlinkInProgress component from struct led_priv. Its
only use is to block requests for "link blinking" when this blinking
pattern is already active.

The "link blinking" pattern is a continuous blinking pattern (as opposed
to other patterns where we blink N times), it's no problem to restart this
pattern when it's already running.

Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Tested-by: Philipp Hortmann <philipp.g.hortmann@gmail.com> # Edimax N150
Link: https://lore.kernel.org/r/20221001170618.444444-1-martin@kaiser.cx
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/core/rtw_led.c
drivers/staging/r8188eu/include/rtw_led.h