]> git.baikalelectronics.ru Git - kernel.git/commit
staging: r8188eu: remove bLedNoLinkBlinkInProgress
authorMartin Kaiser <martin@kaiser.cx>
Sun, 18 Sep 2022 17:56:57 +0000 (19:56 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 24 Sep 2022 11:09:18 +0000 (13:09 +0200)
commitbef90b8b5cef4d9e776b93684b76bedc2684b87c
tree354f26f5576c3669ba5edc2cbfb34908ceeb666f
parent0e4907327fec438657606a47a5d0ee592c090168
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>
drivers/staging/r8188eu/core/rtw_led.c
drivers/staging/r8188eu/include/rtw_led.h