[PATCH] drm/amd/amdgpu: remove defined but not used 'crtc_offsets'

2020-05-08 Thread Jason Yan
Fix the following gcc warning: drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c:65:18: warning: ‘crtc_offsets’ defined but not used [-Wunused-const-variable=] static const u32 crtc_offsets[6] = ^~~~ Reported-by: Hulk Robot Signed-off-by: Jason Yan --- drivers/gpu/drm/amd/amdgpu

Re: [PATCH] drm/amd/amdgpu: remove defined but not used 'crtc_offsets'

2020-05-11 Thread Alex Deucher
Applied. thanks! Alex On Sat, May 9, 2020 at 5:05 AM Jason Yan wrote: > > Fix the following gcc warning: > > drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c:65:18: warning: ‘crtc_offsets’ > defined but not used [-Wunused-const-variable=] > static const u32 crtc_offsets[6] = > ^