drm/amd/display: Removed unused variable ret
authorSouptick Joarder (HPE) <jrdr.linux@gmail.com>
Sat, 25 Jun 2022 01:41:57 +0000 (07:11 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 29 Jun 2022 21:10:04 +0000 (17:10 -0400)
commit0b58162e1207db5052d1fadd5a16eeb90720d765
tree5b8f030238b07587ce8fc5fd869e1f9f8a8f3183
parent8c07f33ea096a1d25fcefa4e904ce50aa2358876
drm/amd/display: Removed unused variable ret

Kernel test robot throws below warning ->

drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link.c:
In function 'dc_link_reduce_mst_payload':
   drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link.c:3782:32:
warning: variable 'ret' set but not used [-Wunused-but-set-variable]
    3782 |         enum act_return_status ret;

Removed the unused ret variable.

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Souptick Joarder (HPE) <jrdr.linux@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc_link.c