All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ath11k: remove unneeded flush_workqueue
@ 2022-03-01  1:32 ` cgel.zte
  0 siblings, 0 replies; 4+ messages in thread
From: cgel.zte @ 2022-03-01  1:32 UTC (permalink / raw)
  To: kvalo
  Cc: davem, kuba, ath11k, linux-wireless, netdev, linux-kernel,
	Lv Ruyi (CGEL ZTE),
	Zeal Robot

From: "Lv Ruyi (CGEL ZTE)" <lv.ruyi@zte.com.cn>

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>
---
 drivers/net/wireless/ath/ath11k/core.c | 1 -
 1 file changed, 1 deletion(-)

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);
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH] ath11k: remove unneeded flush_workqueue
@ 2022-03-01  1:32 ` cgel.zte
  0 siblings, 0 replies; 4+ messages in thread
From: cgel.zte @ 2022-03-01  1:32 UTC (permalink / raw)
  To: kvalo
  Cc: davem, kuba, ath11k, linux-wireless, netdev, linux-kernel,
	Lv Ruyi (CGEL ZTE),
	Zeal Robot

From: "Lv Ruyi (CGEL ZTE)" <lv.ruyi@zte.com.cn>

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>
---
 drivers/net/wireless/ath/ath11k/core.c | 1 -
 1 file changed, 1 deletion(-)

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);
-- 
2.25.1


-- 
ath11k mailing list
ath11k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath11k

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] ath11k: remove unneeded flush_workqueue
  2022-03-01  1:32 ` cgel.zte
@ 2022-03-10 15:51   ` Kalle Valo
  -1 siblings, 0 replies; 4+ messages in thread
From: Kalle Valo @ 2022-03-10 15:51 UTC (permalink / raw)
  To: cgel.zte
  Cc: davem, kuba, ath11k, linux-wireless, netdev, linux-kernel,
	Lv Ruyi (CGEL ZTE),
	Zeal Robot

cgel.zte@gmail.com wrote:

> 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>

Patch applied to ath-next branch of ath.git, thanks.

57fe207f752a ath11k: remove unneeded flush_workqueue

-- 
https://patchwork.kernel.org/project/linux-wireless/patch/20220301013246.2052570-1-lv.ruyi@zte.com.cn/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] ath11k: remove unneeded flush_workqueue
@ 2022-03-10 15:51   ` Kalle Valo
  0 siblings, 0 replies; 4+ messages in thread
From: Kalle Valo @ 2022-03-10 15:51 UTC (permalink / raw)
  To: cgel.zte
  Cc: davem, kuba, ath11k, linux-wireless, netdev, linux-kernel,
	Lv Ruyi (CGEL ZTE),
	Zeal Robot

cgel.zte@gmail.com wrote:

> 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>

Patch applied to ath-next branch of ath.git, thanks.

57fe207f752a ath11k: remove unneeded flush_workqueue

-- 
https://patchwork.kernel.org/project/linux-wireless/patch/20220301013246.2052570-1-lv.ruyi@zte.com.cn/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches


-- 
ath11k mailing list
ath11k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath11k

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-03-10 15:51 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-01  1:32 [PATCH] ath11k: remove unneeded flush_workqueue cgel.zte
2022-03-01  1:32 ` cgel.zte
2022-03-10 15:51 ` Kalle Valo
2022-03-10 15:51   ` Kalle Valo

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.