drm/amdgpu: remove set but not used variable 'ring'