[PATCH] drm/bridge: anx7625: Remove redundant 'flush_workqueue()' calls
Doug Anderson
dianders at chromium.org
Thu Mar 27 21:09:35 UTC 2025
Hi,
On Wed, Mar 12, 2025 at 2:02 AM Chen Ni <nichen at iscas.ac.cn> 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>
> ---
> drivers/gpu/drm/bridge/analogix/anx7625.c | 1 -
> 1 file changed, 1 deletion(-)
I guess nobody else is going to land this, so I went ahead and did it.
;-) Pushed to drm-misc-next:
[1/1] drm/bridge: anx7625: Remove redundant 'flush_workqueue()' calls
commit: c1031442d384eea6d53a1d1ec6791a2782afcdbc
More information about the dri-devel
mailing list