diff options
author | ran jianping <ran.jianping@zte.com.cn> | 2022-04-24 06:21:26 +0000 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2022-08-25 10:50:35 +0200 |
commit | fb4b9685779f25ff063358623f3da4f3344be9bb (patch) | |
tree | 505a9f5111e0ce1d91a89f25638e71a6347e517f /drivers/edac | |
parent | 1c23f9e627a7b412978b4e852793c5e3c3efc555 (diff) | |
download | linux-fb4b9685779f25ff063358623f3da4f3344be9bb.tar.gz |
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 <zealci@zte.com.cn>
Signed-off-by: ran jianping <ran.jianping@zte.com.cn>
Signed-off-by: Borislav Petkov <bp@suse.de>
Link: https://lore.kernel.org/r/20220424062127.3219542-1-ran.jianping@zte.com.cn
Diffstat (limited to 'drivers/edac')
-rw-r--r-- | drivers/edac/wq.c | 1 |
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; } |