]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita5d94fbebdad64e58e3c191542da16aa236ce01a
treec4e6c23a53b15651ea09a6f13de90ac6a386b414
parent887a56e8fb59fc6aaabdbb276b66ddf7b178cb44
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