diff options
author | Chen Ni <nichen@iscas.ac.cn> | 2025-03-12 11:56:25 +0300 |
---|---|---|
committer | Keith Busch <kbusch@kernel.org> | 2025-03-21 02:53:55 +0300 |
commit | ba65af9a2a0d90f2c3ef6c80793d79eba154945b (patch) | |
tree | 2a11f248b826d73f7abe8574d00feaaf7cf1c707 /tools/perf/scripts/python/stackcollapse.py | |
parent | 1b304c006b0fb4f0517a8c4ba8c46e88f48a069c (diff) | |
download | linux-ba65af9a2a0d90f2c3ef6c80793d79eba154945b.tar.xz |
nvmet: pci-epf: Remove redundant 'flush_workqueue()' calls
'destroy_workqueue()' already drains the queue before destroying it, so
there is no need to flush it explicitly.
Remove the redundant 'flush_workqueue()' calls.
This was generated with coccinelle:
@@
expression E;
@@
- flush_workqueue(E);
destroy_workqueue(E);
Signed-off-by: Chen Ni <nichen@iscas.ac.cn>
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Keith Busch <kbusch@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions