diff options
author | Gustavo Padovan <gustavo.padovan@collabora.co.uk> | 2015-05-15 16:12:27 -0300 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2015-05-18 08:53:21 +0200 |
commit | 744b058827b3db9a4f6027522dd9c73a208c2d31 (patch) | |
tree | 37ee04a21944f78a4edea8fb1fc7d3c03b0615e3 /drivers/gpu/drm/drm_atomic_helper.c | |
parent | 6921f88ba85338b0a78ef50d2be79ef3f6c6f647 (diff) | |
download | linux-744b058827b3db9a4f6027522dd9c73a208c2d31.tar.gz linux-744b058827b3db9a4f6027522dd9c73a208c2d31.tar.bz2 linux-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 'drivers/gpu/drm/drm_atomic_helper.c')
-rw-r--r-- | drivers/gpu/drm/drm_atomic_helper.c | 2 |
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. */ |