diff options
author | 2018-11-15 20:00:35 +0800 | |
---|---|---|
committer | 2018-11-19 15:27:42 -0500 | |
commit | 900cc36338188773230c3c7fa099619bf532517b (patch) | |
tree | 0ca6973b135ca91b2b005b782815c09a7b118df7 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | drm/amd/amdgpu/sriov: Aligned the definition with libgv (diff) | |
download | wireguard-linux-900cc36338188773230c3c7fa099619bf532517b.tar.xz wireguard-linux-900cc36338188773230c3c7fa099619bf532517b.zip |
drm/amdgpu: remove set but not used variable 'ring'
Fixes gcc '-Wunused-but-set-variable' warning:
drivers/gpu/drm/amd/amdgpu/psp_v10_0.c: In function 'psp_v10_0_ring_stop':
drivers/gpu/drm/amd/amdgpu/psp_v10_0.c:230:19: warning:
variable 'ring' set but not used [-Wunused-but-set-variable]
drivers/gpu/drm/amd/amdgpu/psp_v3_1.c: In function 'psp_v3_1_ring_stop':
drivers/gpu/drm/amd/amdgpu/psp_v3_1.c:359:19: warning:
variable ‘ring’ set but not used [-Wunused-but-set-variable]
It not used since commit
4ef72453311a ("drm/amdgpu: added api for stopping psp ring (v2)")
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Reviewed-by: Huang Rui <ray.huang@amd.com>
Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions