Re: [PATCH][next] drm/amdgpu: remove redundant assignment to variable ret

2020-05-12 Thread Alex Deucher
On Tue, May 12, 2020 at 8:48 AM Colin King wrote: > > From: Colin Ian King > > The variable ret is being initializeed with a value that is never read > and it is being updated later with a new value. The initialization > is redundant and can be removed. > > Addresses-Coverity: ("Unused value") >

[PATCH][next] drm/amdgpu: remove redundant assignment to variable ret

2020-05-12 Thread Colin King
From: Colin Ian King The variable ret is being initializeed with a value that is never read and it is being updated later with a new value. The initialization is redundant and can be removed. Addresses-Coverity: ("Unused value") Signed-off-by: Colin Ian King --- drivers/gpu/drm/amd/amdgpu/amdg