]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/amd/display: Drop needless check for link->link_id.id
authorMario Limonciello (AMD) <superm1@kernel.org>
Fri, 24 Oct 2025 15:05:31 +0000 (10:05 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 8 Dec 2025 18:56:37 +0000 (13:56 -0500)
commit036dd0380b709ce8f40d8e87c289b3662eabbfff
tree40b938ba306e7de31da62ad5f557b7ea06105ad9
parenta3bba93360d7348a420180298827c8f4f9296b3e
drm/amd/display: Drop needless check for link->link_id.id

[WHY]
The switch/case in `link_detect_sink_signal_type` already detects the
link ID of `CONNECTOR_ID_HDMI_TYPE_A`.

[How]
Drop the extra match.

Reviewed-by: Alex Hung <alex.hung@amd.com>
Signed-off-by: Mario Limonciello (AMD) <superm1@kernel.org>
Signed-off-by: Alex Hung <alex.hung@amd.com>
Tested-by: Dan Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/link/link_detection.c