[PATCH] nvmet: pci-epf: Remove redundant 'flush_workqueue()' calls
Chaitanya Kulkarni
chaitanyak at nvidia.com
Wed Mar 12 10:43:59 PDT 2025
On 3/12/25 01:56, 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:
>
> @@
> expression E;
> @@
> - flush_workqueue(E);
> destroy_workqueue(E);
>
> Signed-off-by: Chen Ni<nichen at iscas.ac.cn>
Looks good.
Reviewed-by: Chaitanya Kulkarni <kch at nvidia.com>
-ck
More information about the Linux-nvme
mailing list