mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-04 10:12:16 +09:00
staging: rtl8723au: Remove unused pwrctrl_priv->brfoffbyhw
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
462eb49eae
commit
bf51ee79fd
@@ -165,7 +165,6 @@ void rtw_ps_processor23a(struct rtw_adapter*padapter)
|
||||
if (rfpwrstate!= pwrpriv->rf_pwrstate) {
|
||||
if (rfpwrstate == rf_off) {
|
||||
pwrpriv->change_rfpwrstate = rf_off;
|
||||
pwrpriv->brfoffbyhw = true;
|
||||
padapter->bCardDisableWOHSM = true;
|
||||
rtw_hw_suspend23a(padapter);
|
||||
} else {
|
||||
|
||||
@@ -210,7 +210,6 @@ struct pwrctrl_priv {
|
||||
u8 bHWPowerdown;/* if support hw power down */
|
||||
u8 bHWPwrPindetect;
|
||||
u8 bkeepfwalive;
|
||||
u8 brfoffbyhw;
|
||||
unsigned long PS_BBRegBackup[PSBBREG_TOTALCNT];
|
||||
};
|
||||
|
||||
|
||||
@@ -416,7 +416,6 @@ int rtw_hw_resume23a(struct rtw_adapter *padapter)
|
||||
netif_tx_wake_all_queues(pnetdev);
|
||||
|
||||
pwrpriv->bkeepfwalive = false;
|
||||
pwrpriv->brfoffbyhw = false;
|
||||
|
||||
pwrpriv->rf_pwrstate = rf_on;
|
||||
pwrpriv->bips_processing = false;
|
||||
|
||||
Reference in New Issue
Block a user