]> git.baikalelectronics.ru Git - kernel.git/commit
staging: rtl8188eu: remove unnecessary variable
authorMichael Straube <straube.linux@gmail.com>
Sun, 5 Apr 2020 11:22:30 +0000 (13:22 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 13 Apr 2020 06:55:32 +0000 (08:55 +0200)
commit0bc145255457211e5a5f79c8dffbbede1246612d
tree2e56c5a28ecb04405b5f2293d03e8ca2438adb37
parentb718d5b576cb7df568acb4e3b81ac948953e83b3
staging: rtl8188eu: remove unnecessary variable

The variable 'bStopBlinking' is used in if tests immediately after its
value is set. Use the conditions for setting 'bStopBlinking' diretly in
the subsequent if tests and remove the variable. Slightly reduces
object file size by 16 bytes (gcc 9.2.1 x86_64).

Signed-off-by: Michael Straube <straube.linux@gmail.com>
Link: https://lore.kernel.org/r/20200405112230.31975-2-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/core/rtw_led.c