OSDN Git Service

drm/amdgpu: remove set but not used variable 'vbi_time_out'
authorYueHaibing <yuehaibing@huawei.com>
Tue, 26 Feb 2019 05:48:28 +0000 (05:48 +0000)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 19 Mar 2019 20:03:53 +0000 (15:03 -0500)
commit6c55033a705a7f7fdacf952b579a424aad7507ef
tree50f039794399a1fb2d46d1a49199e0a2814cb2e2
parent1e608013490a271bd0b3a6b025ee079ca098d647
drm/amdgpu: remove set but not used variable 'vbi_time_out'

Fixes gcc '-Wunused-but-set-variable' warning:

drivers/gpu/drm/amd/amdgpu/si_dpm.c: In function 'si_program_response_times':
drivers/gpu/drm/amd/amdgpu/si_dpm.c:4101:29: warning:
 variable 'backbias_response_time' set but not used [-Wunused-but-set-variable]

It's never used since introduction in 841686df9f7d ("drm/amdgpu: add SI DPM
support (v4)"), so can be removed

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/si_dpm.c