aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorChen Ni <nichen@iscas.ac.cn>2025-03-12 17:01:32 +0800
committerDouglas Anderson <dianders@chromium.org>2025-03-27 14:04:33 -0700
commitc1031442d384eea6d53a1d1ec6791a2782afcdbc (patch)
treee37a7ea0f97d5214ffda0e0ce90cc16c0e020b4b
parentdt-bindings: display: panel: samsung,atna40yk20: document ATNA40YK20 (diff)
downloadwireguard-linux-c1031442d384eea6d53a1d1ec6791a2782afcdbc.tar.xz
wireguard-linux-c1031442d384eea6d53a1d1ec6791a2782afcdbc.zip
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
-rw-r--r--drivers/gpu/drm/bridge/analogix/anx7625.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/bridge/analogix/anx7625.c b/drivers/gpu/drm/bridge/analogix/anx7625.c
index 0b61e77c0398..866806e908cd 100644
--- a/drivers/gpu/drm/bridge/analogix/anx7625.c
+++ b/drivers/gpu/drm/bridge/analogix/anx7625.c
@@ -2772,7 +2772,6 @@ static void anx7625_i2c_remove(struct i2c_client *client)
if (platform->hdcp_workqueue) {
cancel_delayed_work(&platform->hdcp_work);
- flush_workqueue(platform->hdcp_workqueue);
destroy_workqueue(platform->hdcp_workqueue);
}