Re: [PATCH] drm/amdgpu: remove unused variable ring

2023-02-24 Thread Alex Deucher
Applied. Thanks! Alex On Fri, Feb 24, 2023 at 11:45 AM Tom Rix wrote: > > building with gcc and W=1 reports > drivers/gpu/drm/amd/amdgpu/vcn_v4_0.c:81:29: error: variable > ‘ring’ set but not used [-Werror=unused-but-set-variable] >81 | struct amdgpu_ring *ring; > |

[PATCH] drm/amdgpu: remove unused variable ring

2023-02-24 Thread Tom Rix
building with gcc and W=1 reports drivers/gpu/drm/amd/amdgpu/vcn_v4_0.c:81:29: error: variable ‘ring’ set but not used [-Werror=unused-but-set-variable] 81 | struct amdgpu_ring *ring; | ^~~~ ring is not used so remove it. Signed-off-by: Tom Rix ---