linux/drivers/net/wireless/quantenna
Christophe JAILLET 0454915c83 wireless: Remove redundant 'flush_workqueue()' calls
[ Upstream commit ff1cc2fa30 ]

'destroy_workqueue()' already drains the queue before destroying it, so
there is no need to flush it explicitly.

Remove the redundant 'flush_workqueue()' calls.

This was generated with coccinelle:

@@
expression E;
@@
- 	flush_workqueue(E);
	destroy_workqueue(E);

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/0855d51423578ad019c0264dad3fe47a2e8af9c7.1633849511.git.christophe.jaillet@wanadoo.fr
Stable-dep-of: cb5942b77c ("wifi: wilc1000: prevent use-after-free on vif when cleaning up all interfaces")
Signed-off-by: Sasha Levin <sashal@kernel.org>
History 2024-03-26 18:21:19 -04:00
..
qtnfmac wireless: Remove redundant 'flush_workqueue()' calls 2024-03-26 18:21:19 -04:00
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile qtnfmac: convert to SPDX license identifiers 2019-02-01 14:12:02 +02:00