staging: rtl8192u: Remove create_workqueue()
authorBhaktipriya Shridhar <bhaktipriya96@gmail.com>
Sat, 20 Feb 2016 11:19:50 +0000 (16:49 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 20 Feb 2016 23:09:57 +0000 (15:09 -0800)
commit1761a85c3bed33591af9a4c2bfac1705c793143f
treefafb38c068bd7db37be5148a9360be53b716be67
parentf59140964b1a1d71dec8b1e6f8dfc68afc2b4aec
staging: rtl8192u: Remove create_workqueue()

With cmwq, use of dedicated workqueues can be replaced by system_wq.
Removed the dedicated workqueue and used system_wq instead.

Since the work items in the workqueues do not need to
be ordered, increase of concurrency by switching to system_wq should
not break anything.

All work items are sync canceled so it is guaranteed that no work is
running when driver is detached.

Signed-off-by: Bhaktipriya Shridhar <bhaktipriya96@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c
drivers/staging/rtl8192u/r8192U_core.c