]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita4077619220c8b92f44db23039e0d62db685c39e
treee824bcafcc390071d2648bc02bee3e6e9a92a40e
parentbb07c932d56b065d129c278f46f763080ef3a7f2
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