]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit697d7d0593c51d39a12a8f679fda2c4aee9c12ea
tree633c3dea4bd6b257ee7e3be37a62157f1417176f
parent91d1f5ece5cc3e94f04cfe553b7da3ca24516f5a
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