OSDN Git Service

drm/amdgpu: Remove leftover igp_lane_info
authorGrigory Vasilyev <h0tc0d3@gmail.com>
Mon, 4 Apr 2022 23:33:04 +0000 (02:33 +0300)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 6 Apr 2022 14:20:29 +0000 (10:20 -0400)
commitd1826081bb31f1ed5daa1ba5bb7f0daf51afc2a7
treec4e6c23a53b15651ea09a6f13de90ac6a386b414
parentb0778bb0afb10d36de47a435abdc4ca4ecfc3f89
drm/amdgpu: Remove leftover igp_lane_info

Variable igp_lane_info always is 0. 0 & any value = 0 and false.
In this way, all сonditional statements will false.

The code was leftover from when the code was ported from radeon
where igp_lane_info was derived from the vbios on supported
platforms.

[update commit message - Alex]

Signed-off-by: Grigory Vasilyev <h0tc0d3@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/atombios_encoders.c