Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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

+1 -3
+1 -3
drivers/gpu/drm/drm_dp_mst_topology.c
··· 1896 1896 req_payload.num_slots = 0; 1897 1897 } 1898 1898 1899 - if (mgr->payloads[i].start_slot != req_payload.start_slot) { 1900 - mgr->payloads[i].start_slot = req_payload.start_slot; 1901 - } 1899 + mgr->payloads[i].start_slot = req_payload.start_slot; 1902 1900 /* work out what is required to happen with this payload */ 1903 1901 if (mgr->payloads[i].num_slots != req_payload.num_slots) { 1904 1902