From: Jes Sorensen Date: Tue, 1 Jul 2014 08:11:16 +0000 (+0200) Subject: staging: rtl8723au: Remove unused pwrctrl_priv->brfoffbyhw X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=bf51ee79fd468f958ce191f01bf4995fb3eb354c;p=linux-beck.git staging: rtl8723au: Remove unused pwrctrl_priv->brfoffbyhw Signed-off-by: Jes Sorensen Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8723au/core/rtw_pwrctrl.c b/drivers/staging/rtl8723au/core/rtw_pwrctrl.c index ef29118ddbde..ad06335575e3 100644 --- a/drivers/staging/rtl8723au/core/rtw_pwrctrl.c +++ b/drivers/staging/rtl8723au/core/rtw_pwrctrl.c @@ -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 { diff --git a/drivers/staging/rtl8723au/include/rtw_pwrctrl.h b/drivers/staging/rtl8723au/include/rtw_pwrctrl.h index 97bb569524cc..110bad971a36 100644 --- a/drivers/staging/rtl8723au/include/rtw_pwrctrl.h +++ b/drivers/staging/rtl8723au/include/rtw_pwrctrl.h @@ -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]; }; diff --git a/drivers/staging/rtl8723au/os_dep/usb_intf.c b/drivers/staging/rtl8723au/os_dep/usb_intf.c index d0a3a1e6f5aa..e0d55144627e 100644 --- a/drivers/staging/rtl8723au/os_dep/usb_intf.c +++ b/drivers/staging/rtl8723au/os_dep/usb_intf.c @@ -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;