Re: [PATCH] scsi: fnic: Remove redundant 'flush_workqueue()' calls

From: Martin K. Petersen
Date: Thu Mar 20 2025 - 20:40:10 EST


On Wed, 12 Mar 2025 15:43:20 +0800, Chen Ni wrote:

> '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:
>
> [...]

Applied to 6.15/scsi-queue, thanks!

[1/1] scsi: fnic: Remove redundant 'flush_workqueue()' calls
https://git.kernel.org/mkp/scsi/c/160d6ec69f40

--
Martin K. Petersen Oracle Linux Engineering