Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f386ee17 authored by Amitoj Kaur Chawla's avatar Amitoj Kaur Chawla Committed by Greg Kroah-Hartman
Browse files

staging: rtl8723au: core: Remove unnecessary functions



Drop functions that are declared but are not being used anywhere.

Signed-off-by: default avatarAmitoj Kaur Chawla <amitoj1606@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent efc19548
Loading
Loading
Loading
Loading
+0 −37
Original line number Original line Diff line number Diff line
@@ -1154,11 +1154,6 @@ int rtw_acl_remove_sta23a(struct rtw_adapter *padapter, u8 *addr)
	return 0;
	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)
static void update_bcn_erpinfo_ie(struct rtw_adapter *padapter)
{
{
	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
	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)
static void update_bcn_wpa_ie(struct rtw_adapter *padapter)
{
{
	DBG_8723A("%s\n", __func__);
	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);
	spin_lock_bh(&pmlmepriv->bcn_update_lock);


	switch (ie_id) {
	switch (ie_id) {
	case 0xFF:
		/* 8: TimeStamp, 2: Beacon Interval 2:Capability */
		update_bcn_fixed_ie(padapter);
		break;

	case WLAN_EID_TIM:
	case WLAN_EID_TIM:
		update_BCNTIM(padapter);
		update_BCNTIM(padapter);
		break;
		break;
@@ -1276,18 +1251,6 @@ void update_beacon23a(struct rtw_adapter *padapter, u8 ie_id, u8 *oui, u8 tx)
		update_bcn_erpinfo_ie(padapter);
		update_bcn_erpinfo_ie(padapter);
		break;
		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:
	case WLAN_EID_VENDOR_SPECIFIC:
		update_bcn_vendor_spec_ie(padapter, oui);
		update_bcn_vendor_spec_ie(padapter, oui);
		break;
		break;