OSDN Git Service

drm/dp_mst: Remove huge conditional in drm_dp_mst_handle_up_req()
authorLyude Paul <lyude@redhat.com>
Tue, 3 Sep 2019 20:45:48 +0000 (16:45 -0400)
committerLyude Paul <lyude@redhat.com>
Tue, 3 Sep 2019 23:36:51 +0000 (19:36 -0400)
commit60f9ae9d0d3dfb4c1ee8af476e04aaa11d5fd34d
treec9d03123610b5dfbe5a5eee4c672ad5d35b865d5
parent95b0013d209dc2fb2a4c8a6025b79e4bb6fabec8
drm/dp_mst: Remove huge conditional in drm_dp_mst_handle_up_req()

Which reduces indentation and makes this function more legible.

Cc: Juston Li <juston.li@intel.com>
Cc: Imre Deak <imre.deak@intel.com>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Cc: Harry Wentland <hwentlan@amd.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Lyude Paul <lyude@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190903204645.25487-11-lyude@redhat.com
drivers/gpu/drm/drm_dp_mst_topology.c