Re: [PATCH] drm/bridge: anx7625: Remove redundant 'flush_workqueue()' calls

From: Doug Anderson
Date: Wed Mar 12 2025 - 19:35:40 EST


Hi,

On Wed, Mar 12, 2025 at 2:02 AM Chen Ni <nichen@xxxxxxxxxxx> 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>
> ---
> drivers/gpu/drm/bridge/analogix/anx7625.c | 1 -
> 1 file changed, 1 deletion(-)

Reviewed-by: Douglas Anderson <dianders@xxxxxxxxxxxx>