From a7a983ca20f15079bc5405c5ea587a61f94385ec Mon Sep 17 00:00:00 2001 From: Jes Sorensen Date: Fri, 16 May 2014 10:04:01 +0200 Subject: [PATCH] staging: rtl8723au: Remove unused hal_reset_security_engine code Signed-off-by: Jes Sorensen Signed-off-by: Greg Kroah-Hartman --- drivers/staging/rtl8723au/hal/hal_intf.c | 8 -------- drivers/staging/rtl8723au/include/hal_intf.h | 2 -- 2 files changed, 10 deletions(-) diff --git a/drivers/staging/rtl8723au/hal/hal_intf.c b/drivers/staging/rtl8723au/hal/hal_intf.c index d08e805bb023..24a39e6fbd1e 100644 --- a/drivers/staging/rtl8723au/hal/hal_intf.c +++ b/drivers/staging/rtl8723au/hal/hal_intf.c @@ -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); -} diff --git a/drivers/staging/rtl8723au/include/hal_intf.h b/drivers/staging/rtl8723au/include/hal_intf.h index 2fdc02afb53d..31d9a7515805 100644 --- a/drivers/staging/rtl8723au/include/hal_intf.h +++ b/drivers/staging/rtl8723au/include/hal_intf.h @@ -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); -- 2.39.5