drm/amd/display: Remove the unused variable pre_connection_type
authorJiapeng Chong <jiapeng.chong@linux.alibaba.com>
Fri, 10 Feb 2023 02:43:43 +0000 (10:43 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 14 Feb 2023 21:04:42 +0000 (16:04 -0500)
commit48e99fe4d3ba83d6b7bf288e90b360f83e1c6924
tree46aed887b9e9ee0bac9acb0098e4685a1ba52808
parentee3916b45add7ba9fa59b0e9832a5d24d34047d7
drm/amd/display: Remove the unused variable pre_connection_type

Variable pre_connection_type is not effectively used, so delete it.

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=4031
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/link/link_detection.c