drm/amd/display: Simplify dcn35_is_ips_supported()
authorAlex Hung <alex.hung@amd.com>
Wed, 16 Oct 2024 18:23:58 +0000 (12:23 -0600)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 28 Oct 2024 20:36:26 +0000 (16:36 -0400)
commitd2bf27be839e89c6fd24b3ad3a2b38dcbfbf378a
treec88abd64042fc6ccee8d66dd58a91195cd1b71fd
parentb0814fa3be76a8c62cbb9e02bb851b0ec234037d
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>
drivers/gpu/drm/amd/display/dc/clk_mgr/dcn35/dcn35_clk_mgr.c