drm/amd/display: Remove useless function call
authorAlex Hung <alex.hung@amd.com>
Tue, 11 Jun 2024 16:47:35 +0000 (10:47 -0600)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 27 Jun 2024 21:10:36 +0000 (17:10 -0400)
commite094992bd1caa1fbd42221c7c305fc3b54172b5c
tree7e3ae3ef525c59c0d010975a89281eb25deb2ea7
parent3bc73bc096e64752961060cdf9d460e0a6bb0e6b
drm/amd/display: Remove useless function call

[WHAT & HOW]
clk_mgr_helper_get_active_display_cnt returns display count and itself
alone has no use.

This fixes 1 CHECKED_RETURN issue reported by Coverity.

Reviewed-by: Rodrigo Siqueira <rodrigo.siqueira@amd.com>
Signed-off-by: Alex Hung <alex.hung@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/dcn201/dcn201_clk_mgr.c