]> www.infradead.org Git - users/jedix/linux-maple.git/commit
accel/qaic: Remove redundant 'flush_workqueue()' calls
authorChen Ni <nichen@iscas.ac.cn>
Wed, 12 Mar 2025 07:34:04 +0000 (15:34 +0800)
committerJeff Hugo <jeff.hugo@oss.qualcomm.com>
Fri, 14 Mar 2025 16:59:53 +0000 (10:59 -0600)
commit83a0237859bc5a9e0a716e1db8e7fd3cafd63259
treeb9055855cfcdd9d514e5b9b60659a178219b2c43
parentc8619f5402cbcccfe58151b53421029852473e4c
accel/qaic: Remove redundant 'flush_workqueue()' calls

'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@iscas.ac.cn>
Reviewed-by: Jeff Hugo <jeff.hugo@oss.qualcomm.com>
Signed-off-by: Jeff Hugo <jeff.hugo@oss.qualcomm.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20250312073404.1429992-1-nichen@iscas.ac.cn
drivers/accel/qaic/qaic_debugfs.c