rtl8188eu: Remove dead code for other PLATFORM_XX variables

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
Larry Finger 2013-07-10 21:20:38 -05:00
parent a3ca3380b5
commit bb27b28f6e
18 changed files with 4 additions and 652 deletions

View file

@ -9012,11 +9012,9 @@ void start_clnt_auth(_adapter* padapter)
/* Because of AP's not receiving deauth before */
/* AP may: 1)not response auth or 2)deauth us after link is complete */
/* issue deauth before issuing auth to deal with the situation */
#ifndef CONFIG_PLATFORM_RTK_DMP
/* Commented by Albert 2012/07/21 */
/* For the Win8 P2P connection, it will be hard to have a successful connection if this Wi-Fi doesn't connect to it. */
issue_deauth(padapter, (&(pmlmeinfo->network))->MacAddress, WLAN_REASON_DEAUTH_LEAVING);
#endif
DBG_88E_LEVEL(_drv_info_, "start auth\n");
issue_auth(padapter, NULL, 0);

View file

@ -808,14 +808,6 @@ _func_enter_;
else
#endif
{
#if defined(CONFIG_PLATFORM_SPRD) && defined(CONFIG_RTL8188E)
#ifdef CONFIG_IPS
if (false == ips_leave(Adapter))
{
DBG_88E("======> ips_leave fail.............\n");
}
#endif
#endif /* CONFIG_PLATFORM_SPRD && CONFIG_RTL8188E */
}
}
}

View file

@ -1970,21 +1970,6 @@ _func_enter_;
}
#endif /* CONFIG_TDLS */
#ifdef RTK_DMP_PLATFORM
if ( 0 )
{
DBG_88E("++\n");
{
int i;
for (i=0; i<64;i=i+8)
DBG_88E("%02X:%02X:%02X:%02X:%02X:%02X:%02X:%02X:", *(ptr+i),
*(ptr+i+1), *(ptr+i+2) ,*(ptr+i+3) ,*(ptr+i+4),*(ptr+i+5), *(ptr+i+6), *(ptr+i+7));
}
DBG_88E("--\n");
}
#endif /* RTK_DMP_PLATFORM */
/* add version chk */
if (ver!=0){
RT_TRACE(_module_rtl871x_recv_c_,_drv_err_,("validate_recv_data_frame fail! (ver!=0)\n"));

View file

@ -2271,26 +2271,10 @@ static struct xmit_frame *dequeue_one_xmitframe(struct xmit_priv *pxmitpriv, str
xmitframe_plist = get_next(xmitframe_plist);
/*#ifdef RTK_DMP_PLATFORM
#ifdef CONFIG_USB_TX_AGGREGATION
if ((ptxservq->qcnt>0) && (ptxservq->qcnt<=2))
{
pxmitframe = NULL;
tasklet_schedule(&pxmitpriv->xmit_tasklet);
break;
}
#endif
#endif*/
rtw_list_delete(&pxmitframe->list);
ptxservq->qcnt--;
/* rtw_list_insert_tail(&pxmitframe->list, &phwxmit->pending); */
/* ptxservq->qcnt--; */
break;
pxmitframe = NULL;