diff options
author | Martin Kaiser <martin@kaiser.cx> | 2022-09-18 19:56:57 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-09-24 13:09:18 +0200 |
commit | 64c82a8888a658c117e398af83446e28c1d58114 (patch) | |
tree | 354f26f5576c3669ba5edc2cbfb34908ceeb666f /drivers/staging/r8188eu/include/rtw_led.h | |
parent | b08d89994dbb2fd38ce5c299b6b486e2b2621a07 (diff) | |
download | linux-64c82a8888a658c117e398af83446e28c1d58114.tar.bz2 |
staging: r8188eu: remove bLedNoLinkBlinkInProgress
Remove the bLedNoLinkBlinkInProgress state variable. Its sole purpose is
to block subsequent requests for "no link" blinking when this blinking
pattern is already active.
It's perfectly safe to restart "no link" blinking. We can remove
bLedNoLinkBlinkInProgress and the many places where it's updated.
Tested-by: Philipp Hortmann <philipp.g.hortmann@gmail.com> # Edimax N150
Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Link: https://lore.kernel.org/r/20220918175700.215170-4-martin@kaiser.cx
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/r8188eu/include/rtw_led.h')
-rw-r--r-- | drivers/staging/r8188eu/include/rtw_led.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/staging/r8188eu/include/rtw_led.h b/drivers/staging/r8188eu/include/rtw_led.h index d6b0c1c2f9a2..6a0881990394 100644 --- a/drivers/staging/r8188eu/include/rtw_led.h +++ b/drivers/staging/r8188eu/include/rtw_led.h @@ -54,7 +54,6 @@ struct led_priv { u32 BlinkTimes; /* Number of times to toggle led state for blinking. */ - bool bLedNoLinkBlinkInProgress; bool bLedLinkBlinkInProgress; bool bLedScanBlinkInProgress; struct delayed_work blink_work; |