[PATCH] drm: Remove redundant 'flush_workqueue()' calls

Christian Gmeiner christian.gmeiner at gmail.com
Mon Oct 18 12:42:15 UTC 2021


Am So., 10. Okt. 2021 um 16:08 Uhr schrieb Christophe JAILLET
<christophe.jaillet at wanadoo.fr>:
>
> '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: Christophe JAILLET <christophe.jaillet at wanadoo.fr>

For drm/etnaviv:
Reviewed-by: Christian Gmeiner <christian.gmeiner at gmail.com>

-- 
greets
--
Christian Gmeiner, MSc

https://christian-gmeiner.info/privacypolicy


More information about the dri-devel mailing list