]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amd/display: Removed unused assignments and variables
authorAlex Hung <alex.hung@amd.com>
Fri, 20 Sep 2024 00:46:48 +0000 (18:46 -0600)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 1 Oct 2024 21:38:03 +0000 (17:38 -0400)
commite9fda5102120af10b1b6b7ecad6b6ad40de34a71
treec7e544d03ca2cbe5aaf6d60d01bb8eb7a646b464
parent1a63bda8c9f5e17cd9eddcb981b0d8be554a82cb
drm/amd/display: Removed unused assignments and variables

[WHAT]
A number of values are assigned to variables but the stored values are
not used afterwards.

[HOW]
The assignments are removed. If the variables are not used, they are
removed as well.

This fixes 9 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: Fangzhi Zuo <jerry.zuo@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c