ath11k: remove unneeded flush_workqueue
authorLv Ruyi (CGEL ZTE) <lv.ruyi@zte.com.cn>
Tue, 1 Mar 2022 01:32:46 +0000 (01:32 +0000)
committerKalle Valo <quic_kvalo@quicinc.com>
Thu, 10 Mar 2022 15:50:57 +0000 (17:50 +0200)
commit57fe207f752a95e1929e242dfdb21c6dac741e0d
tree0f9e9680a935e2c5a267bf54981a04ec0cc5c923
parent0ac121b86321e6a34db41bb4382875cf43a726af
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
drivers/net/wireless/ath/ath11k/core.c