summaryrefslogtreecommitdiffstats
path: root/block/elevator.c
diff options
context:
space:
mode:
authorLee Jones <lee.jones@linaro.org>2020-11-26 13:42:11 +0000
committerAlex Deucher <alexander.deucher@amd.com>2020-12-01 16:04:44 -0500
commit4c3508fe2382dd7933eca0fa9ef1920e7c6328ef (patch)
tree0e790f7524c29df7467e13aa98f182c29238fddf /block/elevator.c
parent874f1c3f9eab6c4b3a550d2c0d2735ce48eacd61 (diff)
downloadlinux-4c3508fe2382dd7933eca0fa9ef1920e7c6328ef.tar.bz2
drm/amd/pm/powerplay/hwmgr/ppevvmath: Place variable declaration under same clause as its use
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/../pm/powerplay/hwmgr/ppevvmath.h: In function ‘fMultiply’: drivers/gpu/drm/amd/amdgpu/../pm/powerplay/hwmgr/ppevvmath.h:336:22: warning: variable ‘Y_LessThanOne’ set but not used [-Wunused-but-set-variable] drivers/gpu/drm/amd/amdgpu/../pm/powerplay/hwmgr/ppevvmath.h:336:7: warning: variable ‘X_LessThanOne’ 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 'block/elevator.c')
0 files changed, 0 insertions, 0 deletions