drm/mst: delete unnecessary case in drm_dp_add_payload_part2()
authorWayne Lin <Wayne.Lin@amd.com>
Mon, 7 Aug 2023 02:56:37 +0000 (10:56 +0800)
committerLyude Paul <lyude@redhat.com>
Fri, 8 Sep 2023 21:00:56 +0000 (17:00 -0400)
commitae4d2314ff60d2dafe598922a401e78acefccc42
tree55da45384ab79a2130a88a5ffda7a4e72b0005a1
parentfb0a84e6de1b6bee0a0649cc7ed768f9ff2496bb
drm/mst: delete unnecessary case in drm_dp_add_payload_part2()

[Why]
There is no need to consider payload->delete case since we won't call
drm_dp_add_payload_part2() to create a payload when we're about to
remove it.

[How]
Delete unnecessary case to simplify the code.

Signed-off-by: Wayne Lin <Wayne.Lin@amd.com>
Signed-off-by: Lyude Paul <lyude@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230807025639.1612361-2-Wayne.Lin@amd.com
drivers/gpu/drm/display/drm_dp_mst_topology.c