On 3/12/2025 1:34 AM, 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 <nic...@iscas.ac.cn>

Reviewed-by: Jeff Hugo <jeff.h...@oss.qualcomm.com>

Reply via email to