summaryrefslogtreecommitdiff
path: root/rust/helpers/helpers.c
diff options
context:
space:
mode:
authorChen Ni <nichen@iscas.ac.cn>2025-03-12 10:43:20 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2025-03-18 04:27:54 +0300
commit160d6ec69f401037a9a00b9b6569082e4d0649b0 (patch)
treea8fb8ae5b56308fc8d8be2c4ef88c16dbcf5cff6 /rust/helpers/helpers.c
parente402ee093f748b3614aa549beef71d071617cddd (diff)
downloadlinux-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