From: Wanlong Gao Date: Sun, 19 Jun 2011 10:11:57 +0000 (+0800) Subject: drivers:rtl8192u:remove the use of obsolete create_workqueue in r8192U_core.c X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=2e8b6b4785b2e8467a21ae74002757096fde2d92;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git 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 Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8192u/r8192U_core.c b/drivers/staging/rtl8192u/r8192U_core.c index e81b8ab6aa9d..334e078d45ae 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);