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:
48a77d6
)
drm/dp_mst: Remove bogus conditional in drm_dp_update_payload_part1()
author
Lyude Paul
<lyude@redhat.com>
Fri, 14 Dec 2018 01:25:30 +0000
(20:25 -0500)
committer
Lyude Paul
<lyude@redhat.com>
Fri, 14 Dec 2018 20:32:14 +0000
(15:32 -0500)
There's no reason we need this, it's just confusing looking.
Signed-off-by: Lyude Paul <lyude@redhat.com>
Cc: Juston Li <juston.li@intel.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link:
https://patchwork.freedesktop.org/patch/msgid/20181214012604.13746-2-lyude@redhat.com
drivers/gpu/drm/drm_dp_mst_topology.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/drm_dp_mst_topology.c
b/drivers/gpu/drm/drm_dp_mst_topology.c
index ad0fb6d003be2920290033c816d25aa7fb707871..9b1b5c9b1fa08aa9322225dbc6d3cac89be56dff 100644
(file)
--- a/
drivers/gpu/drm/drm_dp_mst_topology.c
+++ b/
drivers/gpu/drm/drm_dp_mst_topology.c
@@
-1896,9
+1896,7
@@
int drm_dp_update_payload_part1(struct drm_dp_mst_topology_mgr *mgr)
req_payload.num_slots = 0;
}
- if (mgr->payloads[i].start_slot != req_payload.start_slot) {
- mgr->payloads[i].start_slot = req_payload.start_slot;
- }
+ mgr->payloads[i].start_slot = req_payload.start_slot;
/* work out what is required to happen with this payload */
if (mgr->payloads[i].num_slots != req_payload.num_slots) {