staging: r8188eu: pwr_state_check_cnts is always zero
authorMichael Straube <straube.linux@gmail.com>
Mon, 4 Apr 2022 08:21:41 +0000 (10:21 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 4 Apr 2022 14:34:52 +0000 (16:34 +0200)
commit93bf50ec9740168c0719d6f3914db98ba5f63a2f
treea66768f11018a2a0b9a93f52e5f2b11fe539fb1d
parentff99fdb280a58305a1ee189677f97f3a5028e04a
staging: r8188eu: pwr_state_check_cnts is always zero

The field pwr_state_check_cnts in struct pwrctrl_priv is set to 0 and
never changed. Remove it and remove related dead code.

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