gpu: drm: radeon: radeon_drv: Remove unused variable 'ret'
authorLee Jones <lee.jones@linaro.org>
Thu, 5 Nov 2020 14:45:13 +0000 (14:45 +0000)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 13 Nov 2020 05:03:34 +0000 (00:03 -0500)
commit3655d1a6a90af0745352b00b52a54532ac26e8b3
tree17e66d001a147dd1ecccee4dd7ff77c5c0621713
parent00d44b966d3f3a9095dca68173650dbf88af7c9e
gpu: drm: radeon: radeon_drv: Remove unused variable 'ret'

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

 drivers/gpu/drm/radeon/radeon_drv.c: In function ‘radeon_pmops_runtime_suspend’:
 drivers/gpu/drm/radeon/radeon_drv.c:455:6: warning: variable ‘ret’ 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: Gareth Hughes <gareth@valinux.com>
Cc: amd-gfx@lists.freedesktop.org
Cc: dri-devel@lists.freedesktop.org
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/radeon_drv.c