Re: [PATCH -next] drm/amd/display: remove set but not used variable 'mc_vm_apt_default'

2020-02-25 Thread Alex Deucher
On Fri, Feb 21, 2020 at 10:33 AM YueHaibing wrote: > > 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

[PATCH -next] drm/amd/display: remove set but not used variable 'mc_vm_apt_default'

2020-02-21 Thread YueHaibing
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.