drm/amdgpu: Make umc_v8_10_convert_error_address static and remove unused variable
authorCandice Li <candice.li@amd.com>
Fri, 24 Feb 2023 04:15:57 +0000 (12:15 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 2 Mar 2023 03:37:55 +0000 (22:37 -0500)
commit1bf56f25258871db5bfad7aebe19e46148eda159
tree8718b07c3afb92f26f733d3655ad0be550a5d1c4
parent05eacc198c68cbb35a7281ce4011f8899ee1cfb8
drm/amdgpu: Make umc_v8_10_convert_error_address static and remove unused variable

Fixes following warnings:
warning: no previous prototype for 'umc_v8_10_convert_error_address'
warning: variable 'channel_index' set but not used

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Candice Li <candice.li@amd.com>
Reviewed-by: Tao Zhou <tao.zhou1@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/umc_v8_10.c