]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: code clean up in dce80_hw_sequencer.c
authorJason Yan <yanaijie@huawei.com>
Mon, 13 Apr 2020 08:22:49 +0000 (16:22 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 13 Apr 2020 16:02:28 +0000 (12:02 -0400)
commitaf44b1e65071a07dd495444911c30c896ebf8cfb
treea82e25e806a6b2011de1291375709cb28fa45ff2
parentde732ee5c6f45a058dae58af8cfccf2378c8976c
drm/amd/display: code clean up in dce80_hw_sequencer.c

Fix the following gcc warning:

drivers/gpu/drm/amd/amdgpu/../display/dc/dce80/dce80_hw_sequencer.c:43:46:
warning: ‘reg_offsets’ defined but not used [-Wunused-const-variable=]
 static const struct dce80_hw_seq_reg_offsets reg_offsets[] = {
                                              ^~~~~~~~~~~

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/display/dc/dce80/dce80_hw_sequencer.c