Removed unused and empty functions

This commit is contained in:
Carlos Garces
2021-10-12 15:16:29 +02:00
parent 098afbae96
commit 1c50f4c603
13 changed files with 3 additions and 436 deletions

View File

@@ -93,40 +93,6 @@ static void indicate_wx_custom_event(_adapter *padapter, char *msg)
}
static void request_wps_pbc_event(_adapter *padapter)
{
u8 *buff, *p;
union iwreq_data wrqu;
buff = rtw_malloc(IW_CUSTOM_MAX);
if (!buff)
return;
memset(buff, 0, IW_CUSTOM_MAX);
p = buff;
p += sprintf(p, "WPS_PBC_START.request=TRUE");
memset(&wrqu, 0, sizeof(wrqu));
wrqu.data.length = p - buff;
wrqu.data.length = (wrqu.data.length < IW_CUSTOM_MAX) ? wrqu.data.length : IW_CUSTOM_MAX;
RTW_INFO("%s\n", __FUNCTION__);
#ifndef CONFIG_IOCTL_CFG80211
wireless_send_event(padapter->pnetdev, IWEVCUSTOM, &wrqu, buff);
#endif
if (buff)
rtw_mfree(buff, IW_CUSTOM_MAX);
}
#ifdef CONFIG_SUPPORT_HW_WPS_PBC
void rtw_request_wps_pbc_event(_adapter *padapter)
{