diff options
| author | Chen Ni <[email protected]> | 2025-03-12 08:56:25 +0000 |
|---|---|---|
| committer | Keith Busch <[email protected]> | 2025-03-20 23:53:55 +0000 |
| commit | ba65af9a2a0d90f2c3ef6c80793d79eba154945b (patch) | |
| tree | 2a11f248b826d73f7abe8574d00feaaf7cf1c707 /lib/net_utils.c | |
| parent | nvmet-fc: Remove unused functions (diff) | |
| download | kernel-ba65af9a2a0d90f2c3ef6c80793d79eba154945b.tar.gz kernel-ba65af9a2a0d90f2c3ef6c80793d79eba154945b.zip | |
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 <[email protected]>
Reviewed-by: Chaitanya Kulkarni <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Signed-off-by: Keith Busch <[email protected]>
Diffstat (limited to 'lib/net_utils.c')
0 files changed, 0 insertions, 0 deletions
