staging: r8188eu: reg_rfoff is never set
authorMichael Straube <straube.linux@gmail.com>
Mon, 4 Apr 2022 08:21:39 +0000 (10:21 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 4 Apr 2022 14:34:52 +0000 (16:34 +0200)
commitd08a738ff1d06bd66cc8b9a9b8c9ffd4df53c029
treee824bcafcc390071d2648bc02bee3e6e9a92a40e
parent091bfe946a9678926f0fef482783ed3e0aafe4f1
staging: r8188eu: reg_rfoff is never set

The field reg_rfoff in struct pwrctrl_priv is never set. It stays at
its default value 0. Remove it and remove related dead code.

Signed-off-by: Michael Straube <straube.linux@gmail.com>
Link: https://lore.kernel.org/r/20220404082142.4639-3-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/hal/usb_halinit.c
drivers/staging/r8188eu/include/rtw_pwrctrl.h