OSDN Git Service

drm/amdgpu: remove set but not used variable 'ring' in psp_v11_0_ring_stop
authorYueHaibing <yuehaibing@huawei.com>
Sat, 29 Sep 2018 11:39:14 +0000 (11:39 +0000)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 10 Oct 2018 19:49:42 +0000 (14:49 -0500)
commit50325c0be109c7f2f21d6d66f31baed46a0c3443
tree633c3dea4bd6b257ee7e3be37a62157f1417176f
parentae5c59a83b84b46aeabde95495a50dfec101d7d6
drm/amdgpu: remove set but not used variable 'ring' in psp_v11_0_ring_stop

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

drivers/gpu/drm/amd/amdgpu/psp_v11_0.c: In function 'psp_v11_0_ring_stop':
drivers/gpu/drm/amd/amdgpu/psp_v11_0.c:309:19: warning:
 variable 'ring' set but not used [-Wunused-but-set-variable]

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