aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/drm_atomic_helper.c
diff options
context:
space:
mode:
authorGustavo Padovan <gustavo.padovan@collabora.co.uk>2015-05-15 16:12:27 -0300
committerDaniel Vetter <daniel.vetter@ffwll.ch>2015-05-18 08:53:21 +0200
commit744b058827b3db9a4f6027522dd9c73a208c2d31 (patch)
tree37ee04a21944f78a4edea8fb1fc7d3c03b0615e3 /drivers/gpu/drm/drm_atomic_helper.c
parentdrm/dp: Fix comment in DP helper (diff)
downloadlinux-dev-744b058827b3db9a4f6027522dd9c73a208c2d31.tar.xz
linux-dev-744b058827b3db9a4f6027522dd9c73a208c2d31.zip
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>
Diffstat (limited to '')
-rw-r--r--drivers/gpu/drm/drm_atomic_helper.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/drm/drm_atomic_helper.c b/drivers/gpu/drm/drm_atomic_helper.c
index 1bcd700e3baa..dc67ff671917 100644
--- a/drivers/gpu/drm/drm_atomic_helper.c
+++ b/drivers/gpu/drm/drm_atomic_helper.c
@@ -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.
*/