]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
staging: r8188eu: remove bStopBlinking
authorMartin Kaiser <martin@kaiser.cx>
Sun, 26 Dec 2021 19:55:52 +0000 (20:55 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 28 Dec 2021 16:12:35 +0000 (17:12 +0100)
commitf7b8dc039995961848f9d63ad2821815529883db
treeb00f58489fa24ef734147603218589a616dd1f6a
parenta4299e0e3fd8294ead4087a1ea5dae5c7ab2e715
staging: r8188eu: remove bStopBlinking

Remove the temporary variable bStopBlinking and check the conditions
directly in the if clauses. There's no need to save the result of
these checks.

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