staging: r8188eu: summarize some BlinkingLedState
authorMartin Kaiser <martin@kaiser.cx>
Sun, 26 Dec 2021 19:55:53 +0000 (20:55 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 28 Dec 2021 16:12:35 +0000 (17:12 +0100)
commite8b0b484f498815ec75c6651b15bf3e3638af936
tree3344b7214b941f27113664183585e1ca16607c19
parentf7b8dc039995961848f9d63ad2821815529883db
staging: r8188eu: summarize some BlinkingLedState

Move BlinkingLedState updates out of if clauses where the same update
is done for all possible paths.

Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Link: https://lore.kernel.org/r/20211226195556.159471-19-martin@kaiser.cx
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/core/rtw_led.c