diff options
author | YueHaibing <yuehaibing@huawei.com> | 2018-12-08 15:01:13 +0000 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2018-12-10 15:21:20 -0500 |
commit | 2e431a1788c52d510bb24229cef93ba935f5785b (patch) | |
tree | 242b3c6b6e9a6a69767fb46f05e805bc35a401b1 /drivers/gpu/drm/amd/amdgpu/amdgpu_prime.c | |
parent | 08d1bdd4cc57e89d037205687a61d2b6ff9dddd4 (diff) |
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 <david1.zhou@amd.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_prime.c')
0 files changed, 0 insertions, 0 deletions