mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-11-16 11:44:52 +00:00
drm/dp_mst: Remove bogus conditional in drm_dp_update_payload_part1()
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
This commit is contained in:
parent
48a77d66cb
commit
fc63668656
1 changed files with 1 additions and 3 deletions
|
|
@ -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) {
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue