]> git.baikalelectronics.ru Git - kernel.git/commit
staging: r8188eu: ps_flag is never set
authorMichael Straube <straube.linux@gmail.com>
Mon, 4 Apr 2022 08:21:42 +0000 (10:21 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 4 Apr 2022 14:34:52 +0000 (16:34 +0200)
commit1a0635499ccacd29ca919fa22e05e5c3ee22e515
tree17c44f9dd6e14de3004392115a55f916db6ea980
parent7a999f0584cb437eaf0d8114115a76cdeda16d8d
staging: r8188eu: ps_flag is never set

The field ps_flag 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-6-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/include/rtw_pwrctrl.h
drivers/staging/r8188eu/os_dep/os_intfs.c