diff options
author | Lee Jones <lee.jones@linaro.org> | 2020-11-26 13:42:31 +0000 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2020-12-01 16:04:45 -0500 |
commit | da03e4224b254b419be6670ff30e1af4cd6ef9b2 (patch) | |
tree | 136b80015c45497e49d6b69ab091e7a874f4058e /drivers/gpu/drm/amd/display/amdgpu_dm | |
parent | 6ee5a7957aceef415419ab5a557932290759b350 (diff) | |
download | linux-da03e4224b254b419be6670ff30e1af4cd6ef9b2.tar.gz linux-da03e4224b254b419be6670ff30e1af4cd6ef9b2.tar.bz2 linux-da03e4224b254b419be6670ff30e1af4cd6ef9b2.zip |
drm/amd/pm/powerplay/kv_dpm: Remove unused variable 'ret'
Fixes the following W=1 kernel build warning(s):
drivers/gpu/drm/amd/amdgpu/../pm/powerplay/kv_dpm.c: In function ‘kv_dpm_powergate_uvd’:
drivers/gpu/drm/amd/amdgpu/../pm/powerplay/kv_dpm.c:1678:6: warning: variable ‘ret’ set but not used [-Wunused-but-set-variable]
drivers/gpu/drm/amd/amdgpu/../pm/powerplay/kv_dpm.c: In function ‘kv_dpm_powergate_vce’:
drivers/gpu/drm/amd/amdgpu/../pm/powerplay/kv_dpm.c:1706:6: warning: variable ‘ret’ set but not used [-Wunused-but-set-variable]
Cc: Evan Quan <evan.quan@amd.com>
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: 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>
Diffstat (limited to 'drivers/gpu/drm/amd/display/amdgpu_dm')
0 files changed, 0 insertions, 0 deletions