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

@ -780,7 +780,6 @@ ODM_DMWatchdog(
odm_RSSIMonitorCheck(pDM_Odm);
#if (DM_ODM_SUPPORT_TYPE == ODM_CE)
/* ifdef CONFIG_PLATFORM_SPRD */
/* For CE Platform(SPRD or Tablet) */
/* 8723A or 8189ES platform */
/* NeilChen--2012--08--24-- */
@ -799,7 +798,6 @@ ODM_DMWatchdog(
odm_DIGbyRSSI_LPS(pDM_Odm);
}
else
/* endif */
#endif
{
odm_DIG(pDM_Odm);

View file

@ -101,14 +101,6 @@ static void dm_CheckPbcGPIO(_adapter *padapter)
/* After trigger PBC, the variable will be set to false */
DBG_88E("CheckPbcGPIO - PBC is pressed\n");
#ifdef RTK_DMP_PLATFORM
#if (LINUX_VERSION_CODE > KERNEL_VERSION(2,6,12))
kobject_uevent(&padapter->pnetdev->dev.kobj, KOBJ_NET_PBC);
#else
kobject_hotplug(&padapter->pnetdev->class_dev.kobj, KOBJ_NET_PBC);
#endif
#else
if ( padapter->pid[0] == 0 )
{ /* 0 is the default value and it means the application monitors the HW PBC doesn't privde its pid to driver. */
return;
@ -116,7 +108,6 @@ static void dm_CheckPbcGPIO(_adapter *padapter)
#ifdef PLATFORM_LINUX
rtw_signal_process(padapter->pid[0], SIGUSR1);
#endif
#endif
}
}