staging: rtl8192e: Remove dead code associated with FOR_ANDROID_X86 and FOR_MOBLIN
authorLarry Finger <Larry.Finger@lwfinger.net>
Thu, 14 Jul 2011 14:58:36 +0000 (09:58 -0500)
committerLarry Finger <Larry.Finger@lwfinger.net>
Wed, 24 Aug 2011 02:07:19 +0000 (21:07 -0500)
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
drivers/staging/rtl8192e/rtllib_softmac.c

index 420ba4398bc149f3c8605bdeb883fd6db0c2dbf6..5f65b58286ce2d4f079c4f8c236cd40e398630d1 100644 (file)
@@ -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)