diff options
author | Chen Ni <nichen@iscas.ac.cn> | 2025-03-12 10:43:20 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2025-03-18 04:27:54 +0300 |
commit | 160d6ec69f401037a9a00b9b6569082e4d0649b0 (patch) | |
tree | a8fb8ae5b56308fc8d8be2c4ef88c16dbcf5cff6 /rust/helpers/helpers.c | |
parent | e402ee093f748b3614aa549beef71d071617cddd (diff) | |
download | linux-160d6ec69f401037a9a00b9b6569082e4d0649b0.tar.xz |
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 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions