mirror of
https://github.com/torvalds/linux.git
synced 2026-05-31 18:43:33 +02:00
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
This commit is contained in:
parent
1822532477
commit
c1031442d3
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user