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 d08e805bb023dacae32b0fa268a9e00028f98098..24a39e6fbd1e32bebedcb4f1d65e5cde21ec2e27 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 2fdc02afb53d445c4faa9f4ee8171331aab6bbba..31d9a751580587ddb2c10627d74e6ee0e7d54ff2 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);