drm/bridge: anx7625: remove unnecessary flush_workqueue()
Subsystems (3)
PATCH 1/1 drm/bridge: anx7625: remove unnecessary flush_workqueue()
From: Lv Ruyi <[email protected]>
All work currently pending will be done by calling destroy_workqueue, so there is unnecessary to flush it explicitly.
Reported-by Zeal Robot <[email protected]>
Signed-off-by Lv Ruyi <[email protected]>
--- drivers/gpu/drm/bridge/analogix/anx7625.c | 1 - 1 file changed, 1 deletion(-)
drivers/gpu/drm/bridge/analogix/anx7625.c +0 -1
@@ -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); }
Signature · 1 line
2.25.1