提交 744b0588 编写于 作者: G Gustavo Padovan 提交者: Daniel Vetter

drm/atomic: remove duplicated assignment of old_plane_state

old_plane_state is already assigned to old_state->plane_states[i] inside
for_each_plane_in_state(). Here we remove an the extra assignment.
Signed-off-by: NGustavo Padovan <gustavo.padovan@collabora.co.uk>
Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
上级 6921f88b
......@@ -1151,8 +1151,6 @@ void drm_atomic_helper_commit_planes(struct drm_device *dev,
if (!funcs)
continue;
old_plane_state = old_state->plane_states[i];
/*
* Special-case disabling the plane if drivers support it.
*/
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册