diff options
| author | YueHaibing <[email protected]> | 2018-11-15 12:00:35 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2018-11-19 20:27:42 +0000 |
| commit | 900cc36338188773230c3c7fa099619bf532517b (patch) | |
| tree | 0ca6973b135ca91b2b005b782815c09a7b118df7 /drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h | |
| parent | drm/amd/amdgpu/sriov: Aligned the definition with libgv (diff) | |
| download | kernel-900cc36338188773230c3c7fa099619bf532517b.tar.gz kernel-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 <[email protected]>
Reviewed-by: Huang Rui <[email protected]>
Acked-by: Christian König <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h')
0 files changed, 0 insertions, 0 deletions
