staging: r8188eu: remove rtw_set_rpwm
authorMartin Kaiser <martin@kaiser.cx>
Mon, 13 Sep 2021 18:51:03 +0000 (20:51 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 14 Sep 2021 07:15:13 +0000 (09:15 +0200)
commit0f982e7e1222565d7ea3d73be3bda35aed6ac3c1
tree609f356bdb932a868a05d2a2b7c3e8b2820a3a94
parent8757f705d936ad9579110aa621995172539aa16b
staging: r8188eu: remove rtw_set_rpwm

After we dropped the call to set HW_VAR_SET_RPWM, the rtw_set_rpwm
function doesn't do anything useful.

Remove the function and the rpwm component of struct pwrctrl_priv,
which is not used outside of rtw_set_rpwm.

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