Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3d986b25 authored by John W. Linville's avatar John W. Linville
Browse files

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: default avatarJohn W. Linville <linville@tuxdriver.com>
Tested-by: default avatarLarry Finger <Larry.Finger@lwfinger.net>
Acked-by: default avatarTejun Heo <tj@kernel.org>
parent d4d5dc3d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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,