drm/amd/display: remove set but not used variable 'mc_vm_apt_default'
authorYueHaibing <yuehaibing@huawei.com>
Fri, 21 Feb 2020 13:24:33 +0000 (21:24 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 26 Feb 2020 19:17:33 +0000 (14:17 -0500)
commit0943629ceb1321c3ea1a1b81725303b835cb1dbc
treeb42670a625f48955c34da8087681e1968ee057d6
parent669e2f91e4d11d9cc5859994439019e8c959f762
drm/amd/display: remove set but not used variable 'mc_vm_apt_default'

drivers/gpu/drm/amd/amdgpu/../display/dc/dcn21/dcn21_hubp.c:
 In function hubp21_set_vm_system_aperture_settings:
drivers/gpu/drm/amd/amdgpu/../display/dc/dcn21/dcn21_hubp.c:343:23:
 warning: variable mc_vm_apt_default set but not used [-Wunused-but-set-variable]

It is never used, so remove it.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn21/dcn21_hubp.c