mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-10 20:48:12 +00:00
rtlwifi: Remove unused parameter from rtl_ps_set_rf_state()
Commit4b9d8d67b4("rtlwifi: rtl8192cu: Remove unused parameter") reworked this routine. Those changes were later reverted by commitd3feae41a3("rtlwifi: Update power-save routines for 062814 driver"). There were two changes in commit4b9d8d67b4. The first of these removed a parameter from rtl_ps_set_rf_state() that was always false. This is the change that is restored in the current patch. A second change that reworked the locking is still being analyzed. In addition to removing the unused parameter, there is no need for rtl_ps_set_rf_state() to be exported. Reported-by: Pavel Andrianov <andrianov@ispras.ru> Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net> Cc: Pavel Andrianov <andrianov@ispras.ru> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
This commit is contained in:
parent
bf94209167
commit
30462b514f
2 changed files with 9 additions and 19 deletions
Loading…
Add table
Add a link
Reference in a new issue