staging: r8188eu: convert else if to else in rtw_led.c
authorMichael Straube <straube.linux@gmail.com>
Fri, 8 Apr 2022 16:38:25 +0000 (18:38 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 12 Apr 2022 13:48:48 +0000 (15:48 +0200)
commit047c76286457b9ab4270665ab459bc2dea53edb9
tree713bc4b0f586e03126bb2e45ebb9b1cebfda076e
parentbab735aa5a49964e8b1ed337db9691e37b2ca821
staging: r8188eu: convert else if to else in rtw_led.c

The else if in this block is redundant, it can be a simple else.

if (x) {
  ...
} else if (!x) {
  ...
}

Convert two such else if statements to simple else in rw_led.c.

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