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

@ -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
}
}