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)
commite54e00a28837656d0564e572f33de3f405e01710
tree17c44f9dd6e14de3004392115a55f916db6ea980
parent93bf50ec9740168c0719d6f3914db98ba5f63a2f
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