]> git.baikalelectronics.ru Git - kernel.git/commit
drm/radeon: remove defined but not used variables in ci_dpm.c
authorJason Yan <yanaijie@huawei.com>
Mon, 13 Apr 2020 14:33:00 +0000 (22:33 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 13 Apr 2020 16:02:47 +0000 (12:02 -0400)
commitdb1092c8ab61205543676cacd5e109c220a5d4cb
treeef2e162521921e43d49225641d75d466c8375c5d
parentf218c5ec559982e758b2802ec9fdbba35bf7a53f
drm/radeon: remove defined but not used variables in ci_dpm.c

Fix the following gcc warning:

drivers/gpu/drm/radeon/ci_dpm.c:82:36: warning: ‘defaults_saturn_pro’
defined but not used [-Wunused-const-variable=]
 static const struct ci_pt_defaults defaults_saturn_pro =
                                    ^~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/radeon/ci_dpm.c:68:36: warning: ‘defaults_bonaire_pro’
defined but not used [-Wunused-const-variable=]
 static const struct ci_pt_defaults defaults_bonaire_pro =
                                    ^~~~~~~~~~~~~~~~~~~~

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/radeon/ci_dpm.c