You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
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>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
bf8996dc24
commit
2e8b6b4785
@@ -2852,11 +2852,7 @@ static void rtl8192_init_priv_task(struct net_device* dev)
|
|||||||
{
|
{
|
||||||
struct r8192_priv *priv = ieee80211_priv(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);
|
priv->priv_wq = create_workqueue(DRV_NAME);
|
||||||
#endif
|
|
||||||
|
|
||||||
INIT_WORK(&priv->reset_wq, rtl8192_restart);
|
INIT_WORK(&priv->reset_wq, rtl8192_restart);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user