drm/amd/amdgpu/amdgpu_device: Remove unused variable 'r'
authorLee Jones <lee.jones@linaro.org>
Fri, 16 Apr 2021 14:37:11 +0000 (15:37 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 21 Apr 2021 01:50:48 +0000 (21:50 -0400)
commit2196927bcb4f4ed45bd1e6d44c1c8f805d984173
tree9b79fd3be316286ebcfc4d63084577b7991127a4
parent4ab159d2547c26b34a4ff4770598b72660da1461
drm/amd/amdgpu/amdgpu_device: Remove unused variable 'r'

Fixes the following W=1 kernel build warning(s):

 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c: In function ‘amdgpu_device_suspend’:
 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c:3733:6: warning: variable ‘r’ set but not used [-Wunused-but-set-variable]

Cc: Alex Deucher <alexander.deucher@amd.com>
Cc: "Christian König" <christian.koenig@amd.com>
Cc: David Airlie <airlied@linux.ie>
Cc: Daniel Vetter <daniel@ffwll.ch>
Cc: Sumit Semwal <sumit.semwal@linaro.org>
Cc: amd-gfx@lists.freedesktop.org
Cc: dri-devel@lists.freedesktop.org
Cc: linux-media@vger.kernel.org
Cc: linaro-mm-sig@lists.linaro.org
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c