[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20220408100401.2495529-1-lv.ruyi@zte.com.cn>
Date: Fri, 8 Apr 2022 10:04:00 +0000
From: cgel.zte@...il.com
To: andrzej.hajda@...el.com, narmstrong@...libre.com,
robert.foss@...aro.org
Cc: Laurent.pinchart@...asonboard.com, jonas@...boo.se,
jernej.skrabec@...il.com, airlied@...ux.ie, daniel@...ll.ch,
xji@...logixsemi.com, hsinyi@...omium.org, sam@...nborg.org,
tzungbi@...gle.com, pihsun@...omium.org, maxime@...no.tech,
dri-devel@...ts.freedesktop.org, linux-kernel@...r.kernel.org,
Lv Ruyi <lv.ruyi@....com.cn>, Zeal Robot <zealci@....com.cn>
Subject: [PATCH] drm/bridge: anx7625: remove unnecessary flush_workqueue()
From: Lv Ruyi <lv.ruyi@....com.cn>
All work currently pending will be done by calling destroy_workqueue,
so there is unnecessary to flush it explicitly.
Reported-by: Zeal Robot <zealci@....com.cn>
Signed-off-by: Lv Ruyi <lv.ruyi@....com.cn>
---
drivers/gpu/drm/bridge/analogix/anx7625.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/gpu/drm/bridge/analogix/anx7625.c b/drivers/gpu/drm/bridge/analogix/anx7625.c
index 6516f9570b86..65632f584179 100644
--- a/drivers/gpu/drm/bridge/analogix/anx7625.c
+++ b/drivers/gpu/drm/bridge/analogix/anx7625.c
@@ -2744,7 +2744,6 @@ static int 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);
}
--
2.25.1
Powered by blists - more mailing lists