Skip to content

Commit

Permalink
ath11k: remove unneeded flush_workqueue
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Lv Ruyi (CGEL ZTE) authored and Kalle Valo committed Mar 10, 2022
1 parent 0ac121b commit 57fe207
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/net/wireless/ath/ath11k/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 57fe207

Please sign in to comment.