staging: r8188eu: setting HW_VAR_SET_RPWM does nothing
authorMartin Kaiser <martin@kaiser.cx>
Sat, 11 Sep 2021 14:15:11 +0000 (16:15 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 13 Sep 2021 16:19:12 +0000 (18:19 +0200)
commitdb57ee8f1fc0601f38aa09e687905f762133f923
tree136eefd0900a7a4e6862b9b02c8583ef9cff026a
parent9a1d3a510a3897e5b08367741bce53abf038de5d
staging: r8188eu: setting HW_VAR_SET_RPWM does nothing

Setting the HW_VAR_SET_RPWM "hardware variable" is an empty operation.

Remove the call to set HW_VAR_SET_RPWM, the calculation of the value to be
set and the definition of HW_VAR_SET_RPWM itself.

Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Link: https://lore.kernel.org/r/20210911141521.24901-3-martin@kaiser.cx
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/core/rtw_pwrctrl.c
drivers/staging/r8188eu/hal/usb_halinit.c
drivers/staging/r8188eu/include/hal_intf.h