drm/amdgpu: remove unused variable ring
authorTom Rix <trix@redhat.com>
Fri, 24 Feb 2023 16:45:19 +0000 (11:45 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 28 Feb 2023 19:28:51 +0000 (14:28 -0500)
commit1a80993ae37341c2017108d02975683076ace2a6
treea5fc7ad6091486277b3fe4634f01733f23ce2675
parent60971b204c615a6881f50c3dc9a2182551282b94
drm/amdgpu: remove unused variable ring

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 <trix@redhat.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/vcn_v4_0.c