From: John W. Linville Date: Thu, 16 Dec 2010 19:59:49 +0000 (-0500) Subject: rtlwifi: use alloc_workqueue X-Git-Tag: MMI-PSA29.97-13-9~21446^2~14^2~3^2~80 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=3d986b25b5faa50ba6afd94f60f270b6c3061e5e;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git rtlwifi: use alloc_workqueue create_workqueue is deprecated. The workqueue usage does not seem to demand any special treatment, so do not set any flags either. Signed-off-by: John W. Linville Tested-by: Larry Finger Acked-by: Tejun Heo --- diff --git a/drivers/net/wireless/rtlwifi/base.c b/drivers/net/wireless/rtlwifi/base.c index 77fa59af63d8..f6cc07369d75 100644 --- a/drivers/net/wireless/rtlwifi/base.c +++ b/drivers/net/wireless/rtlwifi/base.c @@ -225,7 +225,7 @@ static void _rtl_init_deferred_work(struct ieee80211_hw *hw) /* <2> work queue */ rtlpriv->works.hw = hw; - rtlpriv->works.rtl_wq = create_workqueue(rtlpriv->cfg->name); + rtlpriv->works.rtl_wq = alloc_workqueue(rtlpriv->cfg->name, 0, 0); INIT_DELAYED_WORK(&rtlpriv->works.watchdog_wq, (void *)rtl_watchdog_wq_callback); INIT_DELAYED_WORK(&rtlpriv->works.ips_nic_off_wq,