]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit581c5727019e244e007d7724ddc366a1764d9634
treec2bf3ab8d0a8385b98076370a5d9ac4048ff4f60
parent95ff2528e2228bd34796ed19a0a5ba13fbac792d
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