staging: r8188eu: remove SwLed1
authorMartin Kaiser <martin@kaiser.cx>
Tue, 7 Dec 2021 21:05:35 +0000 (22:05 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 9 Dec 2021 07:57:03 +0000 (08:57 +0100)
commit22e6a4846738aebff06ebec0b94d0e19f2a0ab71
tree5cf99fbf6f107256e24371a6e983ee7324d20445
parentd904512db6f372759ecd1c8f92e689e63af2f03a
staging: r8188eu: remove SwLed1

The r8188eu driver does not use SwLed1. Calls from other layers to modify
the led state end up in SwLedControlMode1, where SwLed0 is hard-coded.

This patch removes the code to initialise and deinitialise SwLed1 and
the SwLed1 struct itself.

Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Link: https://lore.kernel.org/r/20211207210537.23382-2-martin@kaiser.cx
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/hal/rtl8188eu_led.c
drivers/staging/r8188eu/include/rtw_led.h