]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/amdgpu: remove defined but not used 'crtc_offsets'
authorJason Yan <yanaijie@huawei.com>
Sat, 9 May 2020 06:29:59 +0000 (14:29 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 11 May 2020 22:04:09 +0000 (18:04 -0400)
commit0ea8331460511222c0dc9b309805f91254c1e361
tree04c9d15712e4c498df7885fdff335e8efbf79cc4
parent4a825dc47bb3f1328119e0e98f763b0a7f376aee
drm/amd/amdgpu: remove defined but not used 'crtc_offsets'

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 <hulkci@huawei.com>
Signed-off-by: Jason Yan <yanaijie@huawei.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c