aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorAlex Hung <alex.hung@amd.com>2024-09-23 17:48:47 -0600
committerAlex Deucher <alexander.deucher@amd.com>2024-10-07 14:17:05 -0400
commitbcb4a5c6a3dcbd2fa4350aa2155a6cb532183b07 (patch)
tree9005d960968e90f68ee08be356084bc0148ea56b /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parentb9c8ad73480dc692b9d0c7b50da4964628a733fd (diff)
downloadlinux-bcb4a5c6a3dcbd2fa4350aa2155a6cb532183b07.tar.gz
linux-bcb4a5c6a3dcbd2fa4350aa2155a6cb532183b07.tar.bz2
linux-bcb4a5c6a3dcbd2fa4350aa2155a6cb532183b07.zip
drm/amd/display: Remove redundant assignments
[WHAT & HOW] log2_blk_height and log2_blk_width are assigned to 0 and then immediately are updated to other values. The assignments to zero are redudant and removed. This fixes 18 UNUSED_VALUE issues reported by Coverity. Reviewed-by: Rodrigo Siqueira <rodrigo.siqueira@amd.com> Signed-off-by: Alex Hung <alex.hung@amd.com> Signed-off-by: Rodrigo Siqueira <rodrigo.siqueira@amd.com> Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions