]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amd/display: Remove duplicate 'update_idle_uclk' in dcn401 clk_mgr code
authorIvan Lipski <ivlipski@amd.com>
Mon, 27 May 2024 17:28:44 +0000 (13:28 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 14 Jun 2024 20:17:15 +0000 (16:17 -0400)
commit0eea12b9bdd5f917c3fb00c5ef710398f7c7bfac
treea4410bef5ca705cb8f6671780fcc4872f39398f0
parent1b51220dc28cd34f80467acaff60294348cf6675
drm/amd/display: Remove duplicate 'update_idle_uclk' in dcn401 clk_mgr code

[WHY]
The coverity analysis flagged this if expression as it contains a
'CONSTANT_EXPRESSION_RESULT': 'update_idle_uclk' is 'ORd' with itself.

[HOW]
Removed the duplicate 'update_idle_uclk'.

Reviewed-by: Alex Hung <alex.hung@amd.com>
Acked-by: Zaeem Mohamed <zaeem.mohamed@amd.com>
Signed-off-by: Ivan Lipski <ivlipski@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/dcn401/dcn401_clk_mgr.c