staging: rtl8188eu: core: rtw_ap : Remove unnecessary functions

Drop unnecessary functions that are declared but not being used.

Signed-off-by: Amitoj Kaur Chawla <amitoj1606@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Amitoj Kaur Chawla 2015-10-29 11:47:03 +05:30 committed by Greg Kroah-Hartman
parent d3fc05e22d
commit f3a2d1adfd
1 changed files with 1 additions and 53 deletions

View File

@ -1240,11 +1240,6 @@ int rtw_acl_remove_sta(struct adapter *padapter, u8 *addr)
return 0; return 0;
} }
static void update_bcn_fixed_ie(struct adapter *padapter)
{
DBG_88E("%s\n", __func__);
}
static void update_bcn_erpinfo_ie(struct adapter *padapter) static void update_bcn_erpinfo_ie(struct adapter *padapter)
{ {
struct mlme_priv *pmlmepriv = &(padapter->mlmepriv); struct mlme_priv *pmlmepriv = &(padapter->mlmepriv);
@ -1279,31 +1274,6 @@ static void update_bcn_erpinfo_ie(struct adapter *padapter)
} }
} }
static void update_bcn_htcap_ie(struct adapter *padapter)
{
DBG_88E("%s\n", __func__);
}
static void update_bcn_htinfo_ie(struct adapter *padapter)
{
DBG_88E("%s\n", __func__);
}
static void update_bcn_rsn_ie(struct adapter *padapter)
{
DBG_88E("%s\n", __func__);
}
static void update_bcn_wpa_ie(struct adapter *padapter)
{
DBG_88E("%s\n", __func__);
}
static void update_bcn_wmm_ie(struct adapter *padapter)
{
DBG_88E("%s\n", __func__);
}
static void update_bcn_wps_ie(struct adapter *padapter) static void update_bcn_wps_ie(struct adapter *padapter)
{ {
u8 *pwps_ie = NULL, *pwps_ie_src; u8 *pwps_ie = NULL, *pwps_ie_src;
@ -1354,22 +1324,12 @@ static void update_bcn_wps_ie(struct adapter *padapter)
kfree(pbackup_remainder_ie); kfree(pbackup_remainder_ie);
} }
static void update_bcn_p2p_ie(struct adapter *padapter)
{
}
static void update_bcn_vendor_spec_ie(struct adapter *padapter, u8 *oui) static void update_bcn_vendor_spec_ie(struct adapter *padapter, u8 *oui)
{ {
DBG_88E("%s\n", __func__); DBG_88E("%s\n", __func__);
if (!memcmp(RTW_WPA_OUI, oui, 4)) if (!memcmp(WPS_OUI, oui, 4))
update_bcn_wpa_ie(padapter);
else if (!memcmp(WMM_OUI, oui, 4))
update_bcn_wmm_ie(padapter);
else if (!memcmp(WPS_OUI, oui, 4))
update_bcn_wps_ie(padapter); update_bcn_wps_ie(padapter);
else if (!memcmp(P2P_OUI, oui, 4))
update_bcn_p2p_ie(padapter);
else else
DBG_88E("unknown OUI type!\n"); DBG_88E("unknown OUI type!\n");
} }
@ -1391,24 +1351,12 @@ void update_beacon(struct 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:
update_bcn_fixed_ie(padapter);/* 8: TimeStamp, 2: Beacon Interval 2:Capability */
break;
case _TIM_IE_: case _TIM_IE_:
update_BCNTIM(padapter); update_BCNTIM(padapter);
break; break;
case _ERPINFO_IE_: case _ERPINFO_IE_:
update_bcn_erpinfo_ie(padapter); update_bcn_erpinfo_ie(padapter);
break; break;
case _HT_CAPABILITY_IE_:
update_bcn_htcap_ie(padapter);
break;
case _RSN_IE_2_:
update_bcn_rsn_ie(padapter);
break;
case _HT_ADD_INFO_IE_:
update_bcn_htinfo_ie(padapter);
break;
case _VENDOR_SPECIFIC_IE_: case _VENDOR_SPECIFIC_IE_:
update_bcn_vendor_spec_ie(padapter, oui); update_bcn_vendor_spec_ie(padapter, oui);
break; break;