[PATCH] power: supply: mt6370: Remove redundant 'flush_workqueue()' calls
Sebastian Reichel
sebastian.reichel at collabora.com
Mon Mar 17 08:21:04 PDT 2025
On Wed, 12 Mar 2025 15:37:29 +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:
>
> [...]
Applied, thanks!
[1/1] power: supply: mt6370: Remove redundant 'flush_workqueue()' calls
commit: 0b8d073f6c66d7110ac9fab1f13a09337e03f1b6
Best regards,
--
Sebastian Reichel <sebastian.reichel at collabora.com>
More information about the linux-arm-kernel
mailing list