OSDN Git Service

staging: rtl8723au: Remove unused hal_reset_security_engine code
authorJes Sorensen <Jes.Sorensen@redhat.com>
Fri, 16 May 2014 08:04:01 +0000 (10:04 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 16 May 2014 18:34:23 +0000 (11:34 -0700)
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723au/hal/hal_intf.c
drivers/staging/rtl8723au/include/hal_intf.h

index d08e805..24a39e6 100644 (file)
@@ -70,8 +70,6 @@ uint   rtw_hal_init23a(struct rtw_adapter *padapter)
 
                if (padapter->registrypriv.notch_filter == 1)
                        rtw_hal_notch_filter23a(padapter, 1);
-
-               rtw_hal_reset_security_engine23a(padapter);
        } else {
                padapter->hw_init_completed = false;
                DBG_8723A("rtw_hal_init23a: hal__init fail\n");
@@ -273,9 +271,3 @@ void rtw_hal_notch_filter23a(struct rtw_adapter *adapter, bool enable)
        if (adapter->HalFunc.hal_notch_filter)
                adapter->HalFunc.hal_notch_filter(adapter, enable);
 }
-
-void rtw_hal_reset_security_engine23a(struct rtw_adapter *adapter)
-{
-       if (adapter->HalFunc.hal_reset_security_engine)
-               adapter->HalFunc.hal_reset_security_engine(adapter);
-}
index 2fdc02a..31d9a75 100644 (file)
@@ -140,7 +140,6 @@ struct hal_ops {
                                          u8 offset, u8 word_en, u8 *data);
 
        void (*hal_notch_filter)(struct rtw_adapter *adapter, bool enable);
-       void (*hal_reset_security_engine)(struct rtw_adapter *adapter);
 };
 
 enum rt_eeprom_type {
@@ -248,7 +247,6 @@ void        rtw_hal_set_bwmode23a(struct rtw_adapter *padapter,
 void   rtw_hal_set_chan23a(struct rtw_adapter *padapter, u8 channel);
 
 void rtw_hal_notch_filter23a(struct rtw_adapter *adapter, bool enable);
-void rtw_hal_reset_security_engine23a(struct rtw_adapter *adapter);
 
 void hw_var_set_correct_tsf(struct rtw_adapter *padapter);
 void hw_var_set_mlme_disconnect(struct rtw_adapter *padapter);