Commit a7a983ca authored by Jes Sorensen's avatar Jes Sorensen Committed by Greg Kroah-Hartman

staging: rtl8723au: Remove unused hal_reset_security_engine code

Signed-off-by: default avatarJes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent b7c19c27
...@@ -70,8 +70,6 @@ uint rtw_hal_init23a(struct rtw_adapter *padapter) ...@@ -70,8 +70,6 @@ uint rtw_hal_init23a(struct rtw_adapter *padapter)
if (padapter->registrypriv.notch_filter == 1) if (padapter->registrypriv.notch_filter == 1)
rtw_hal_notch_filter23a(padapter, 1); rtw_hal_notch_filter23a(padapter, 1);
rtw_hal_reset_security_engine23a(padapter);
} else { } else {
padapter->hw_init_completed = false; padapter->hw_init_completed = false;
DBG_8723A("rtw_hal_init23a: hal__init fail\n"); DBG_8723A("rtw_hal_init23a: hal__init fail\n");
...@@ -273,9 +271,3 @@ void rtw_hal_notch_filter23a(struct rtw_adapter *adapter, bool enable) ...@@ -273,9 +271,3 @@ void rtw_hal_notch_filter23a(struct rtw_adapter *adapter, bool enable)
if (adapter->HalFunc.hal_notch_filter) if (adapter->HalFunc.hal_notch_filter)
adapter->HalFunc.hal_notch_filter(adapter, enable); 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);
}
...@@ -140,7 +140,6 @@ struct hal_ops { ...@@ -140,7 +140,6 @@ struct hal_ops {
u8 offset, u8 word_en, u8 *data); u8 offset, u8 word_en, u8 *data);
void (*hal_notch_filter)(struct rtw_adapter *adapter, bool enable); void (*hal_notch_filter)(struct rtw_adapter *adapter, bool enable);
void (*hal_reset_security_engine)(struct rtw_adapter *adapter);
}; };
enum rt_eeprom_type { enum rt_eeprom_type {
...@@ -248,7 +247,6 @@ void rtw_hal_set_bwmode23a(struct rtw_adapter *padapter, ...@@ -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_set_chan23a(struct rtw_adapter *padapter, u8 channel);
void rtw_hal_notch_filter23a(struct rtw_adapter *adapter, bool enable); 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_correct_tsf(struct rtw_adapter *padapter);
void hw_var_set_mlme_disconnect(struct rtw_adapter *padapter); void hw_var_set_mlme_disconnect(struct rtw_adapter *padapter);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment