diff options
| author | Chen Ni <[email protected]> | 2025-03-12 07:43:20 +0000 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2025-03-18 01:27:54 +0000 |
| commit | 160d6ec69f401037a9a00b9b6569082e4d0649b0 (patch) | |
| tree | a8fb8ae5b56308fc8d8be2c4ef88c16dbcf5cff6 /net/unix/sysctl_net_unix.c | |
| parent | scsi: core: Use a switch statement when attaching VPD pages (diff) | |
| download | kernel-160d6ec69f401037a9a00b9b6569082e4d0649b0.tar.gz kernel-160d6ec69f401037a9a00b9b6569082e4d0649b0.zip | |
scsi: fnic: 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]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Karan Tilak Kumar <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions
