Re: [PATCH -next] drm/amdgpu: remove set but not used variable 'ring'

2018-11-16 Thread YueHaibing
On 2018/11/15 19:49, Huang, Ray wrote: >> -Original Message- >> From: YueHaibing [mailto:yuehaib...@huawei.com] >> Sent: Thursday, November 15, 2018 6:52 PM >> To: Deucher, Alexander ; Koenig, Christian >> ; Zhou, David(ChunMing) >> ; airl...@linux.ie; Liu, Shaoyun >> ; Francis, David ; Hu

RE: [PATCH -next] drm/amdgpu: remove set but not used variable 'ring'

2018-11-15 Thread Huang, Ray
> -Original Message- > From: YueHaibing [mailto:yuehaib...@huawei.com] > Sent: Thursday, November 15, 2018 6:52 PM > To: Deucher, Alexander ; Koenig, Christian > ; Zhou, David(ChunMing) > ; airl...@linux.ie; Liu, Shaoyun > ; Francis, David ; Huang, > Ray ; Xu, Feifei ; Gao, Likun > > Cc: Y

Re: [PATCH -next] drm/amdgpu: remove set but not used variable 'ring' in psp_v11_0_ring_stop

2018-10-10 Thread Alex Deucher
On Mon, Oct 1, 2018 at 3:26 AM YueHaibing wrote: > > 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-variabl