summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorWanlong Gao <wanlong.gao@gmail.com>2011-06-19 10:11:57 (GMT)
committerGreg Kroah-Hartman <gregkh@suse.de>2011-07-05 17:19:40 (GMT)
commit2e8b6b4785b2e8467a21ae74002757096fde2d92 (patch)
tree8e4dd51442caad1d2b93324c7143e52f22073a50 /drivers
parentbf8996dc2419083f2d4d5e7d271c7156a92a268e (diff)
downloadlinux-2e8b6b4785b2e8467a21ae74002757096fde2d92.tar.xz
drivers:rtl8192u:remove the use of obsolete create_workqueue in r8192U_core.c
Remove the use of obsolete create_workqueue(name, 0) interface in r8192U_core.c, since it has changed. Signed-off-by: Wanlong Gao <wanlong.gao@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/staging/rtl8192u/r8192U_core.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/staging/rtl8192u/r8192U_core.c b/drivers/staging/rtl8192u/r8192U_core.c
index e81b8ab..334e078d 100644
--- a/drivers/staging/rtl8192u/r8192U_core.c
+++ b/drivers/staging/rtl8192u/r8192U_core.c
@@ -2852,11 +2852,7 @@ static void rtl8192_init_priv_task(struct net_device* dev)
{
struct r8192_priv *priv = ieee80211_priv(dev);
-#ifdef PF_SYNCTHREAD
- priv->priv_wq = create_workqueue(DRV_NAME,0);
-#else
priv->priv_wq = create_workqueue(DRV_NAME);
-#endif
INIT_WORK(&priv->reset_wq, rtl8192_restart);