]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita53ce274d4b586144b98ea82c90668422bea8eb0
tree3344b7214b941f27113664183585e1ca16607c19
parent6ecd1670dae62c7ea7b47f5ddcfb12cda6672b5e
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