Re: [PATCH] accel/qaic: Remove redundant 'flush_workqueue()' calls

From: Jeff Hugo
Date: Fri Mar 14 2025 - 13:00:38 EST


On 3/12/2025 1:34 AM, 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@xxxxxxxxxxx>

Reviewed-by: Jeff Hugo <jeff.hugo@xxxxxxxxxxxxxxxx>