Commit 0e3b1830 authored by Larry Finger's avatar Larry Finger

staging: rtl8192e: Remove dead code associated with PF_SYNCTHREAD

Signed-off-by: default avatarLarry Finger <Larry.Finger@lwfinger.net>
parent 4ebba6d6
...@@ -1324,11 +1324,7 @@ static void rtl8192_init_priv_task(struct net_device* dev) ...@@ -1324,11 +1324,7 @@ static void rtl8192_init_priv_task(struct net_device* dev)
{ {
struct r8192_priv *priv = rtllib_priv(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); priv->priv_wq = create_workqueue(DRV_NAME);
#endif
INIT_WORK_RSL(&priv->reset_wq, (void*)rtl8192_restart, dev); INIT_WORK_RSL(&priv->reset_wq, (void*)rtl8192_restart, dev);
INIT_WORK_RSL(&priv->rtllib->ips_leave_wq, (void*)IPSLeave_wq, 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); INIT_DELAYED_WORK_RSL(&priv->watch_dog_wq, (void*)rtl819x_watchdog_wqcallback, dev);
......
...@@ -3262,11 +3262,7 @@ void rtllib_softmac_init(struct rtllib_device *ieee) ...@@ -3262,11 +3262,7 @@ void rtllib_softmac_init(struct rtllib_device *ieee)
(unsigned long) ieee); (unsigned long) ieee);
#ifdef PF_SYNCTHREAD
ieee->wq = create_workqueue(DRV_NAME,0);
#else
ieee->wq = create_workqueue(DRV_NAME); 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->link_change_wq,(void*)rtllib_link_change_wq,ieee);
INIT_DELAYED_WORK_RSL(&ieee->start_ibss_wq,(void*)rtllib_start_ibss_wq,ieee); INIT_DELAYED_WORK_RSL(&ieee->start_ibss_wq,(void*)rtllib_start_ibss_wq,ieee);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment