wifi: rtlwifi: cleanup struct rtl_ps_ctl
authorDmitry Antipov <dmantipov@yandex.ru>
Fri, 13 Oct 2023 12:45:31 +0000 (15:45 +0300)
committerKalle Valo <kvalo@kernel.org>
Thu, 19 Oct 2023 07:27:28 +0000 (10:27 +0300)
commit9a66e73094add3d5f330db83982aa20591189fcc
tree9efb9688e7c794f9a6aed41ce69305abe7250936
parenta86a8ca798e9c3037c04011c993a92c173fba0c2
wifi: rtlwifi: cleanup struct rtl_ps_ctl

Remove set but otherwise unused 'sleep_ms', 'last_action', 'state'
and 'last_slept' members of 'struct rtl_ps_ctl' (these seems to be
a leftovers from some older code) and adjust 'rtl_swlps_wq_callback()'
accordingly. Compile tested only.

Signed-off-by: Dmitry Antipov <dmantipov@yandex.ru>
Acked-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20231013124534.19714-1-dmantipov@yandex.ru
drivers/net/wireless/realtek/rtlwifi/ps.c
drivers/net/wireless/realtek/rtlwifi/wifi.h