Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 744b0588 authored by Gustavo Padovan's avatar Gustavo Padovan Committed by Daniel Vetter
Browse files

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: default avatarGustavo Padovan <gustavo.padovan@collabora.co.uk>
Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
parent 6921f88b
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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.
		 */