staging: rtl8723au: core: Remove unnecessary functions
PATCH v2 1/1 staging: rtl8723au: core: Remove unnecessary functions
Drop functions that are declared but are not being used anywhere.
Signed-off-by Amitoj Kaur Chawla <[email protected]>
---
Changes in v2:
-Remove function callers
drivers/staging/rtl8723au/core/rtw_ap.c | 37 --------------------------------- 1 file changed, 37 deletions(-)
drivers/staging/rtl8723au/core/rtw_ap.c +0 -37
@@ -1135,11 +1135,6 @@ int rtw_acl_remove_sta23a(struct rtw_adapter *padapter, u8 *addr)return 0 ; } -static void update_bcn_fixed_ie (struct rtw_adapter *padapter) -{ -DBG_8723A ("%s\n" , __func__); -} -static void update_bcn_erpinfo_ie (struct rtw_adapter *padapter) {struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
@@ -1173,21 +1168,6 @@ static void update_bcn_erpinfo_ie(struct rtw_adapter *padapter) } } -static void update_bcn_htcap_ie (struct rtw_adapter *padapter) -{ -DBG_8723A ("%s\n" , __func__); -} - -static void update_bcn_htinfo_ie (struct rtw_adapter *padapter) -{ -DBG_8723A ("%s\n" , __func__); -} - -static void update_bcn_rsn_ie (struct rtw_adapter *padapter) -{ -DBG_8723A ("%s\n" , __func__); -} -static void update_bcn_wpa_ie (struct rtw_adapter *padapter) {DBG_8723A ("%s\n" , __func__);
@@ -1244,11 +1224,6 @@ void update_beacon23a(struct rtw_adapter *padapter, u8 ie_id, u8 *oui, u8 tx)spin_lock_bh (&pmlmepriv->bcn_update_lock);switch (ie_id) { -case 0xFF : -/* 8: TimeStamp, 2: Beacon Interval 2:Capability */ -update_bcn_fixed_ie (padapter); -break ; -case WLAN_EID_TIM :update_BCNTIM (padapter);break ;
@@ -1257,18 +1232,6 @@ void update_beacon23a(struct rtw_adapter *padapter, u8 ie_id, u8 *oui, u8 tx)update_bcn_erpinfo_ie (padapter);break ; -case WLAN_EID_HT_CAPABILITY : -update_bcn_htcap_ie (padapter); -break ; - -case WLAN_EID_RSN : -update_bcn_rsn_ie (padapter); -break ; - -case WLAN_EID_HT_OPERATION : -update_bcn_htinfo_ie (padapter); -break ; -case WLAN_EID_VENDOR_SPECIFIC :update_bcn_vendor_spec_ie (padapter, oui);break ;
Signature · 1 line
1.9.1