From d32ddcba9d67b7d647576df9f8f62934956c60b9 Mon Sep 17 00:00:00 2001 From: Larry Finger Date: Thu, 14 Jul 2011 09:58:36 -0500 Subject: [PATCH] staging: rtl8192e: Remove dead code associated with FOR_ANDROID_X86 and FOR_MOBLIN Signed-off-by: Larry Finger --- drivers/staging/rtl8192e/rtllib_softmac.c | 5 ----- 1 file changed, 5 deletions(-) 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) -- 2.20.1