aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorran jianping <[email protected]>2022-04-24 06:21:26 +0000
committerBorislav Petkov <[email protected]>2022-08-25 10:50:35 +0200
commitfb4b9685779f25ff063358623f3da4f3344be9bb (patch)
tree505a9f5111e0ce1d91a89f25638e71a6347e517f
parent1c23f9e627a7b412978b4e852793c5e3c3efc555 (diff)
EDAC/wq: Remove unneeded flush_workqueue()
destroy_workqueue() already takes care of flushing the workqueue so there is no need to flush it explicitly. [ bp: Massage commit message. ] Reported-by: Zeal Robot <[email protected]> Signed-off-by: ran jianping <[email protected]> Signed-off-by: Borislav Petkov <[email protected]> Link: https://lore.kernel.org/r/[email protected]
-rw-r--r--drivers/edac/wq.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/edac/wq.c b/drivers/edac/wq.c
index d021d287eaec..ad3f516627c5 100644
--- a/drivers/edac/wq.c
+++ b/drivers/edac/wq.c
@@ -37,7 +37,6 @@ int edac_workqueue_setup(void)
void edac_workqueue_teardown(void)
{
- flush_workqueue(wq);
destroy_workqueue(wq);
wq = NULL;
}