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>
Tue, 28 Feb 2023 19:16:44 +0000 (14:16 -0500)
commit567172bbb4805a9d9e84e4621210212126703d04
tree2f49d5f5a3aafaa83baa9bedbaafce7e9fc20ac0
parent0c3c99364361171f8cfeb8b66b1e6f4709919dc3
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