drivers:rtl8192u:remove the use of obsolete create_workqueue in r8192U_core.c
authorWanlong Gao <wanlong.gao@gmail.com>
Sun, 19 Jun 2011 10:11:57 +0000 (18:11 +0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 5 Jul 2011 17:19:40 +0000 (10:19 -0700)
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>
drivers/staging/rtl8192u/r8192U_core.c

index e81b8ab6aa9d160c6a8c30327a751d9d6b82ef48..334e078d45aee4dda89049b019377208e5747771 100644 (file)
@@ -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);