mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2025-06-23 08:34:20 +00:00
rtl8188eu: Remove dead code inside #if 0 ... #endif
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
3ad757d04a
commit
77e736c66a
64 changed files with 98 additions and 7692 deletions
|
@ -1302,19 +1302,6 @@ _func_enter_;
|
|||
|
||||
DBG_871X("%s: smart_ps=%d\n", __func__, padapter->pwrctrlpriv.smart_ps);
|
||||
|
||||
#if 0
|
||||
psecuritypriv->supplicant_ie[0]=(u8)psecnetwork->IELength;
|
||||
|
||||
if (psecnetwork->IELength < (256-1))
|
||||
{
|
||||
_rtw_memcpy(&psecuritypriv->supplicant_ie[1], &psecnetwork->IEs[0], psecnetwork->IELength);
|
||||
}
|
||||
else
|
||||
{
|
||||
_rtw_memcpy(&psecuritypriv->supplicant_ie[1], &psecnetwork->IEs[0], (256-1));
|
||||
}
|
||||
#endif
|
||||
|
||||
pcmd->cmdsz = get_WLAN_BSSID_EX_sz(psecnetwork);//get cmdsz before endian conversion
|
||||
|
||||
#ifdef CONFIG_RTL8712
|
||||
|
@ -2911,23 +2898,6 @@ _func_enter_;
|
|||
|
||||
_clr_fwstate_(pmlmepriv, _FW_UNDER_LINKING);
|
||||
|
||||
#if 0
|
||||
if ((pmlmepriv->fw_state) & WIFI_AP_STATE)
|
||||
{
|
||||
psta = rtw_alloc_stainfo(&padapter->stapriv, pnetwork->MacAddress);
|
||||
|
||||
if (psta == NULL) { // for AP Mode & Adhoc Master Mode
|
||||
RT_TRACE(_module_rtl871x_cmd_c_,_drv_err_,("\nCan't alloc sta_info when createbss_cmd_callback\n"));
|
||||
goto createbss_cmd_fail ;
|
||||
}
|
||||
|
||||
rtw_indicate_connect( padapter);
|
||||
}
|
||||
else {
|
||||
|
||||
//rtw_indicate_disconnect(dev);
|
||||
}
|
||||
#endif
|
||||
_exit_critical_bh(&(pmlmepriv->scanned_queue.lock), &irqL);
|
||||
// we will set _FW_LINKED when there is one more sat to join us (rtw_stassoc_event_callback)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue