aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJes Sorensen <Jes.Sorensen@redhat.com>2014-05-16 10:04:01 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-05-16 11:34:23 -0700
commita7a983ca20f15079bc5405c5ea587a61f94385ec (patch)
tree58a893d1fdd62567b44f4768407e779de9537768
parentstaging: rtl8723au: Get rid of sreset related HAL clutter (diff)
staging: rtl8723au: Remove unused hal_reset_security_engine code
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/staging/rtl8723au/hal/hal_intf.c8
-rw-r--r--drivers/staging/rtl8723au/include/hal_intf.h2
2 files changed, 0 insertions, 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);