linux/drivers/staging/rtl8723bs
Ping-Ke Shih ea0fca5079 staging: rtl8723bs: remove unused 'poll_cnt' from rtw_set_rpwm()
The 'poll_cnt' is used to assist in polling hardware state. Current code
uses jiffies to determine timeout, so removing this value is safe.

Otherwise, clang warns:

core/rtw_pwrctrl.c:288:6: warning:
	 variable 'poll_cnt' set but not used [-Wunused-but-set-variable]
  288 |                 u8 poll_cnt = 0;
      |                    ^

Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Tested-by: Philipp Hortmann <philipp.g.hortmann@gmail.com>
Link: https://lore.kernel.org/r/20240913002815.5149-5-pkshih@realtek.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-09-13 07:31:56 +02:00
..
core staging: rtl8723bs: remove unused 'poll_cnt' from rtw_set_rpwm() 2024-09-13 07:31:56 +02:00
hal staging: rtl8723bs: Remove unused files rtw_debug.c and rtw_debug.h 2024-09-11 15:57:48 +02:00
include staging: rtl8723bs: include: Remove spaces before tabs in rtw_security.h 2024-09-13 07:31:22 +02:00
os_dep staging: rtl8723bs: Remove unused files rtw_debug.c and rtw_debug.h 2024-09-11 15:57:48 +02:00
Kconfig staging: rtl8723bs: drop unnessary dep on CFG80211_WEXT 2024-08-22 15:46:42 +08:00
Makefile staging: rtl8723bs: Remove unused file rtw_rf.c 2024-09-11 15:57:48 +02:00
TODO staging: rtl8723bs: remove item from TODO list 2021-06-24 14:43:46 +02:00