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: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
Gustavo Padovan 2015-05-15 16:12:27 -03:00 коммит произвёл Daniel Vetter
Родитель 6921f88ba8
Коммит 744b058827
1 изменённых файлов: 0 добавлений и 2 удалений

Просмотреть файл

@ -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.
*/