OSDN Git Service

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)
commit43ad9b39b0a3af10ebf8133012898c0a0d991b9b
treeef2e162521921e43d49225641d75d466c8375c5d
parent01e5e998a30ebcc621162360e2d3d03bfb5ac55b
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