staging: rtl8723au: Remove unused variables from struct pwrctrl_priv
authorJes Sorensen <Jes.Sorensen@redhat.com>
Tue, 1 Jul 2014 08:11:17 +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/include/rtw_pwrctrl.h

index 110bad971a36b3764063ea4fd38eab8fc70da05f..2142255903e1d3bdac4b7ff46b354177620f3e0e 100644 (file)
@@ -155,18 +155,14 @@ struct pwrctrl_priv {
                           * read from HCPWM 2. driver lowers power level
                           */
        volatile u8 tog; /*  toggling */
-       volatile u8 cpwm_tog; /*  toggling */
 
        u8      pwr_mode;
        u8      smart_ps;
        u8      bcn_ant_mode;
 
-       u32     alives;
-       struct work_struct cpwm_event;
        u8      bpower_saving;
 
        u8      reg_rfoff;
-       u8      reg_pdnmode; /* powerdown mode */
        u32     rfoff_reason;
 
        /* RF OFF Level */
@@ -206,7 +202,6 @@ struct pwrctrl_priv {
        enum rt_rf_power_state  rf_pwrstate;/* cur power state */
        enum rt_rf_power_state  change_rfpwrstate;
 
-       u8      wepkeymask;
        u8      bHWPowerdown;/* if support hw power down */
        u8      bHWPwrPindetect;
        u8      bkeepfwalive;