Re: [PATCH] Input: cs40l50 - Remove redundant 'flush_workqueue()' calls

From: Dmitry Torokhov
Date: Tue Jul 01 2025 - 14:35:28 EST


On Wed, Mar 12, 2025 at 03:29:40PM +0800, 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>

Applied, thank you.

--
Dmitry