Re: [PATCH] wifi: rtw88: usb: Remove redundant 'flush_workqueue()' calls
From: Ping-Ke Shih
Date: Mon Mar 31 2025 - 02:43:09 EST
Chen Ni <nichen@xxxxxxxxxxx> 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>
1 patch(es) applied to rtw-next branch of rtw.git, thanks.
625fbc16524a wifi: rtw88: usb: Remove redundant 'flush_workqueue()' calls
---
https://github.com/pkshih/rtw.git