From: Larry Finger Date: Thu, 14 Jul 2011 14:58:36 +0000 (-0500) Subject: staging: rtl8192e: Remove dead code associated with FOR_ANDROID_X86 and FOR_MOBLIN X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=d32ddcba9d67b7d647576df9f8f62934956c60b9;p=linux-beck.git staging: rtl8192e: Remove dead code associated with FOR_ANDROID_X86 and FOR_MOBLIN Signed-off-by: Larry Finger --- diff --git a/drivers/staging/rtl8192e/rtllib_softmac.c b/drivers/staging/rtl8192e/rtllib_softmac.c index 420ba4398bc1..5f65b58286ce 100644 --- a/drivers/staging/rtl8192e/rtllib_softmac.c +++ b/drivers/staging/rtl8192e/rtllib_softmac.c @@ -608,13 +608,11 @@ out: ieee->be_scan_inprogress = false; -#ifndef FOR_MOBLIN { union iwreq_data wrqu; memset(&wrqu, 0, sizeof(wrqu)); wireless_send_event(ieee->dev,SIOCGIWSCAN,&wrqu,NULL); } -#endif } void rtllib_softmac_scan_wq(void *data) @@ -2942,10 +2940,7 @@ void rtllib_disassociate(struct rtllib_device *ieee) queue_delayed_work_rsl(ieee->wq, &ieee->link_change_wq, 0); - -#ifndef FOR_ANDROID_X86 notify_wx_assoc_event(ieee); -#endif } void rtllib_associate_retry_wq(void *data)