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

2025-03-15 Thread Jeff Hugo

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 


Reviewed-by: Jeff Hugo 


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

2025-03-15 Thread Jeff Hugo

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 


Pushed to drm-misc-next

-Jeff