staging: rtl8192e: Remove dead code associated with PF_SYNCTHREAD
authorLarry Finger <Larry.Finger@lwfinger.net>
Wed, 13 Jul 2011 03:30:01 +0000 (22:30 -0500)
committerLarry Finger <Larry.Finger@lwfinger.net>
Wed, 24 Aug 2011 01:25:15 +0000 (20:25 -0500)
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
drivers/staging/rtl8192e/rtl_core.c
drivers/staging/rtl8192e/rtllib_softmac.c

index 976d17bdeed000a1a2236457f1afb4fe299e2790..db3c64974a7ddd7eb7caa5ffcb55274f6933755f 100644 (file)
@@ -1324,11 +1324,7 @@ static void rtl8192_init_priv_task(struct net_device* dev)
 {
        struct r8192_priv *priv = rtllib_priv(dev);
 
-#ifdef PF_SYNCTHREAD
-       priv->priv_wq = create_workqueue(DRV_NAME,0);
-#else
        priv->priv_wq = create_workqueue(DRV_NAME);
-#endif
        INIT_WORK_RSL(&priv->reset_wq,  (void*)rtl8192_restart, dev);
        INIT_WORK_RSL(&priv->rtllib->ips_leave_wq, (void*)IPSLeave_wq, dev);
        INIT_DELAYED_WORK_RSL(&priv->watch_dog_wq, (void*)rtl819x_watchdog_wqcallback, dev);
index 281d51bdc54eed997f2c20ce40fd1802fd509695..3cbfdeb6290ebb2fe930e23aacd97e5ea9a131d6 100644 (file)
@@ -3262,11 +3262,7 @@ void rtllib_softmac_init(struct rtllib_device *ieee)
                    (unsigned long) ieee);
 
 
-#ifdef PF_SYNCTHREAD
-       ieee->wq = create_workqueue(DRV_NAME,0);
-#else
        ieee->wq = create_workqueue(DRV_NAME);
-#endif
 
        INIT_DELAYED_WORK_RSL(&ieee->link_change_wq,(void*)rtllib_link_change_wq,ieee);
        INIT_DELAYED_WORK_RSL(&ieee->start_ibss_wq,(void*)rtllib_start_ibss_wq,ieee);