summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/ath
diff options
context:
space:
mode:
authorLv Ruyi (CGEL ZTE) <lv.ruyi@zte.com.cn>2022-03-01 01:32:46 +0000
committerKalle Valo <quic_kvalo@quicinc.com>2022-03-10 17:50:57 +0200
commit57fe207f752a95e1929e242dfdb21c6dac741e0d (patch)
tree0f9e9680a935e2c5a267bf54981a04ec0cc5c923 /drivers/net/wireless/ath
parent0ac121b86321e6a34db41bb4382875cf43a726af (diff)
downloadlwn-57fe207f752a95e1929e242dfdb21c6dac741e0d.tar.gz
lwn-57fe207f752a95e1929e242dfdb21c6dac741e0d.zip
ath11k: remove unneeded flush_workqueue
All work currently pending will be done first by calling destroy_workqueue, so there is no need to flush it explicitly. Reported-by: Zeal Robot <zealci@zte.com.cn> Signed-off-by: Lv Ruyi (CGEL ZTE) <lv.ruyi@zte.com.cn> Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com> Link: https://lore.kernel.org/r/20220301013246.2052570-1-lv.ruyi@zte.com.cn
Diffstat (limited to 'drivers/net/wireless/ath')
-rw-r--r--drivers/net/wireless/ath/ath11k/core.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath11k/core.c b/drivers/net/wireless/ath/ath11k/core.c
index 5d570a2cc2a5..71eb7d04c3bf 100644
--- a/drivers/net/wireless/ath/ath11k/core.c
+++ b/drivers/net/wireless/ath/ath11k/core.c
@@ -1417,7 +1417,6 @@ EXPORT_SYMBOL(ath11k_core_deinit);
void ath11k_core_free(struct ath11k_base *ab)
{
- flush_workqueue(ab->workqueue);
destroy_workqueue(ab->workqueue);
kfree(ab);