projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6921f88
)
drm/atomic: remove duplicated assignment of old_plane_state
author
Gustavo Padovan
<
[email protected]
>
Fri, 15 May 2015 19:12:27 +0000
(16:12 -0300)
committer
Daniel Vetter
<
[email protected]
>
Mon, 18 May 2015 06:53:21 +0000
(08:53 +0200)
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 <
[email protected]
>
Signed-off-by: Daniel Vetter <
[email protected]
>
drivers/gpu/drm/drm_atomic_helper.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/drm_atomic_helper.c
b/drivers/gpu/drm/drm_atomic_helper.c
index 1bcd700e3baaeafb58db1f67f886c49be6283faa..dc67ff6719170b88967d60df80bbb05d517f2795 100644
(file)
--- 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.
*/