diff options
author | Gustavo Padovan <gustavo.padovan@collabora.co.uk> | 2015-05-15 19:12:27 (GMT) |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2015-05-18 06:53:21 (GMT) |
commit | 744b058827b3db9a4f6027522dd9c73a208c2d31 (patch) | |
tree | 37ee04a21944f78a4edea8fb1fc7d3c03b0615e3 /drivers | |
parent | 6921f88ba85338b0a78ef50d2be79ef3f6c6f647 (diff) | |
download | linux-744b058827b3db9a4f6027522dd9c73a208c2d31.tar.xz |
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')
-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 1bcd700..dc67ff6 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. */ |