]> git.baikalelectronics.ru Git - kernel.git/commit
drm/dp_mst: Refactor drm_dp_mst_handle_down_rep()
authorLyude Paul <lyude@redhat.com>
Tue, 3 Sep 2019 20:45:51 +0000 (16:45 -0400)
committerLyude Paul <lyude@redhat.com>
Tue, 3 Sep 2019 23:37:00 +0000 (19:37 -0400)
commita1d69e29afd3781c4cec0d90fde753990e15adf4
tree4789611f73e6e15c5039cfc43653d27627cb48a2
parent5adf52f461ee1233a53fe5c98d803c0349abfb8e
drm/dp_mst: Refactor drm_dp_mst_handle_down_rep()

* Remove the big ugly have_eomt conditional
* Store &mgr->down_rep_recv.initial_hdr in a var to make line wrapping
  easier
* Remove duplicate memset() calls
* Actually wrap lines

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-14-lyude@redhat.com
drivers/gpu/drm/drm_dp_mst_topology.c