drm/dp: Drop open-coded drm_dp_is_branch() in drm_dp_read_downstream_info()
authorLyude Paul <lyude@redhat.com>
Fri, 30 Apr 2021 22:34:28 +0000 (18:34 -0400)
committerLyude Paul <lyude@redhat.com>
Fri, 7 May 2021 21:32:23 +0000 (17:32 -0400)
commit4fca55de564ae798c859b21201582ac2c82ccd32
treec2bf3ab8d0a8385b98076370a5d9ac4048ff4f60
parent205bb69a90363541a634a662a599fddb95956524
drm/dp: Drop open-coded drm_dp_is_branch() in drm_dp_read_downstream_info()

Noticed this while fixing another issue in drm_dp_read_downstream_info(),
the open coded DP_DOWNSTREAMPORT_PRESENT check here just duplicates what we
already do in drm_dp_is_branch(), so just get rid of it.

Signed-off-by: Lyude Paul <lyude@redhat.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210430223428.10514-2-lyude@redhat.com
drivers/gpu/drm/drm_dp_helper.c