diff options
author | 2024-10-16 12:18:39 -0600 | |
---|---|---|
committer | 2024-10-28 16:36:13 -0400 | |
commit | b0814fa3be76a8c62cbb9e02bb851b0ec234037d (patch) | |
tree | 5194a27926003c0d9f6365826fc18b6175c4f047 /drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_crtc.c | |
parent | drm/amd/display: fix handling of max_downscale_src_width fail check in SPL (diff) | |
download | wireguard-linux-b0814fa3be76a8c62cbb9e02bb851b0ec234037d.tar.xz wireguard-linux-b0814fa3be76a8c62cbb9e02bb851b0ec234037d.zip |
drm/amd/display: Remove useless assignments and variables
[WHAT & HOW]
misc0, temp and split_pipe are assigned but immediately re-assigned
to other values. The early assignments are useless and are removed.
Unused variables are removed as well.
This fixes 5 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: Tom Chung <chiahsuan.chung@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/display/amdgpu_dm/amdgpu_dm_crtc.c')
0 files changed, 0 insertions, 0 deletions