[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <zgj74w3pui3mybsa3vovspotsuz6hj732hy5g6ezosaxfpoard@ijq6h4kkw3md>
Date: Tue, 1 Jul 2025 11:35:12 -0700
From: Dmitry Torokhov <dmitry.torokhov@...il.com>
To: Chen Ni <nichen@...as.ac.cn>
Cc: jogletre@...nsource.cirrus.com, fred.treven@...rus.com,
ben.bright@...rus.com, patches@...nsource.cirrus.com, linux-input@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] Input: cs40l50 - Remove redundant 'flush_workqueue()'
calls
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@...as.ac.cn>
Applied, thank you.
--
Dmitry
Powered by blists - more mailing lists