]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7a999f0584cb437eaf0d8114115a76cdeda16d8d
treea66768f11018a2a0b9a93f52e5f2b11fe539fb1d
parenta9465ac9b32002a0136bbbf58cd0e281541e78e3
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