]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: rtl8723au: Remove unused pwrctrl_priv->brfoffbyhw
authorJes Sorensen <Jes.Sorensen@redhat.com>
Tue, 1 Jul 2014 08:11:16 +0000 (10:11 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 8 Jul 2014 22:51:37 +0000 (15:51 -0700)
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723au/core/rtw_pwrctrl.c
drivers/staging/rtl8723au/include/rtw_pwrctrl.h
drivers/staging/rtl8723au/os_dep/usb_intf.c

index ef29118ddbde0c73025eed1887abb7e3460c5890..ad06335575e3d2fa1d43c55f3cb672acaf917737 100644 (file)
@@ -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 {
index 97bb569524cc920dadaf18cc98c4a1b7da039758..110bad971a36b3764063ea4fd38eab8fc70da05f 100644 (file)
@@ -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];
 };
 
index d0a3a1e6f5aae9b0bbbf24a23ef39a09f1dba964..e0d55144627e49f70055adf09ac7296dff005d86 100644 (file)
@@ -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;