staging: rtl8723au: core: Remove unnecessary functions
authorAmitoj Kaur Chawla <amitoj1606@gmail.com>
Tue, 27 Oct 2015 08:32:37 +0000 (14:02 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 28 Oct 2015 22:55:17 +0000 (07:55 +0900)
Drop functions that are declared but are not being used anywhere.

Signed-off-by: Amitoj Kaur Chawla <amitoj1606@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723au/core/rtw_ap.c

index 2b8b21653dea4adfa9692c5dd603e1f346ca4a39..1aa9b267c30eb4fa3e33932aab304293190b52b8 100644 (file)
@@ -1154,11 +1154,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;
@@ -1192,21 +1187,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__);
@@ -1263,11 +1243,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;
@@ -1276,18 +1251,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;