diff options
| author | YueHaibing <[email protected]> | 2018-12-08 15:01:13 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2018-12-10 20:21:20 +0000 |
| commit | 2e431a1788c52d510bb24229cef93ba935f5785b (patch) | |
| tree | 242b3c6b6e9a6a69767fb46f05e805bc35a401b1 /drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | |
| parent | drm/amdgpu: Limit vm max ctx number to 4096 (diff) | |
| download | kernel-2e431a1788c52d510bb24229cef93ba935f5785b.tar.gz kernel-2e431a1788c52d510bb24229cef93ba935f5785b.zip | |
drm/amdgpu: remove set but not used variable 'grbm_soft_reset'
Fixes gcc '-Wunused-but-set-variable' warning:
drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c: In function 'gfx_v8_0_pre_soft_reset':
drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c:4950:27: warning:
variable 'srbm_soft_reset' set but not used [-Wunused-but-set-variable]
drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c: In function 'gfx_v8_0_post_soft_reset':
drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c:5054:27: warning:
variable 'srbm_soft_reset' set but not used [-Wunused-but-set-variable]
It never used since introduction in commit d31a501ead7f ("drm/amdgpu: add
pre_soft_reset ip func") and e4ae0fc33631 ("drm/amdgpu: implement
gfx8 post_soft_reset")
Reviewed-by: Chunming Zhou <[email protected]>
Signed-off-by: YueHaibing <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c')
0 files changed, 0 insertions, 0 deletions
