]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/bridge: anx7625: Remove redundant 'flush_workqueue()' calls
authorChen Ni <nichen@iscas.ac.cn>
Wed, 12 Mar 2025 09:01:32 +0000 (17:01 +0800)
committerDouglas Anderson <dianders@chromium.org>
Thu, 27 Mar 2025 21:04:33 +0000 (14:04 -0700)
commitc1031442d384eea6d53a1d1ec6791a2782afcdbc
treee37a7ea0f97d5214ffda0e0ce90cc16c0e020b4b
parent1822532477cb5f007313de4c70079c09aaa270d5
drm/bridge: anx7625: 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: Robert Foss <rfoss@kernel.org>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Signed-off-by: Douglas Anderson <dianders@chromium.org>
Link: https://lore.kernel.org/r/20250312090132.1624445-1-nichen@iscas.ac.cn
drivers/gpu/drm/bridge/analogix/anx7625.c