diff options
author | 2024-10-16 12:23:58 -0600 | |
---|---|---|
committer | 2024-10-28 16:36:26 -0400 | |
commit | d2bf27be839e89c6fd24b3ad3a2b38dcbfbf378a (patch) | |
tree | c88abd64042fc6ccee8d66dd58a91195cd1b71fd /drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_crtc.c | |
parent | drm/amd/display: Remove useless assignments and variables (diff) | |
download | wireguard-linux-d2bf27be839e89c6fd24b3ad3a2b38dcbfbf378a.tar.xz wireguard-linux-d2bf27be839e89c6fd24b3ad3a2b38dcbfbf378a.zip |
drm/amd/display: Simplify dcn35_is_ips_supported()
[WHAT & HOW]
The variable "ips_supported" is redundant and we can return from
dcn35_smu_get_ips_supported directly.
This fixes 1 UNUSED_VALUE issue 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