diff options
author | 2025-03-12 15:43:20 +0800 | |
---|---|---|
committer | 2025-03-17 21:27:54 -0400 | |
commit | 160d6ec69f401037a9a00b9b6569082e4d0649b0 (patch) | |
tree | a8fb8ae5b56308fc8d8be2c4ef88c16dbcf5cff6 /scripts/gdb/linux/utils.py | |
parent | scsi: core: Use a switch statement when attaching VPD pages (diff) | |
download | wireguard-linux-160d6ec69f401037a9a00b9b6569082e4d0649b0.tar.xz wireguard-linux-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 <nichen@iscas.ac.cn>
Link: https://lore.kernel.org/r/20250312074320.1430175-1-nichen@iscas.ac.cn
Reviewed-by: Karan Tilak Kumar <kartilak@cisco.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions