Re: [PATCH -next] drm/amd/display: remove unused variable 'dc'

2021-06-18 Thread Alex Deucher
Applied. Thanks! On Thu, Jun 17, 2021 at 3:04 PM Harry Wentland wrote: > > > > On 2021-06-16 9:16 p.m., Pu Lehui wrote: > > GCC reports the following warning with W=1: > > > > drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_psr.c:70:13: > > warning: > > variable ‘dc’ set but not used

Re: [PATCH -next] drm/amd/display: remove unused variable 'dc'

2021-06-17 Thread Harry Wentland
On 2021-06-16 9:16 p.m., Pu Lehui wrote: > GCC reports the following warning with W=1: > > drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_psr.c:70:13: > warning: > variable ‘dc’ set but not used [-Wunused-but-set-variable] > 70 | struct dc *dc = NULL; >| ^~ >

[PATCH -next] drm/amd/display: remove unused variable 'dc'

2021-06-16 Thread Pu Lehui
GCC reports the following warning with W=1: drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_psr.c:70:13: warning: variable ‘dc’ set but not used [-Wunused-but-set-variable] 70 | struct dc *dc = NULL; | ^~ This variable is not used in function, this commit remove