Re: [PATCH] drm/amdgpu: Junk code

2022-04-05 Thread Alex Deucher
On Tue, Apr 5, 2022 at 5:07 AM Grigory Vasilyev wrote: > > Variable igp_lane_info always is 0. 0 & any value = 0 and false. > In this way, all сonditional statements will false. > Therefore, it is not clear what this code does. It was leftover from when the code was ported from radeon. The igp l

[PATCH] drm/amdgpu: Junk code

2022-04-05 Thread Grigory Vasilyev
Variable igp_lane_info always is 0. 0 & any value = 0 and false. In this way, all сonditional statements will false. Therefore, it is not clear what this code does. Signed-off-by: Grigory Vasilyev --- .../gpu/drm/amd/amdgpu/atombios_encoders.c| 21 --- 1 file changed, 21 dele