]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/amd/display: Remove always-false branches
authorAlex Hung <alex.hung@amd.com>
Wed, 18 Feb 2026 16:50:15 +0000 (09:50 -0700)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 2 Mar 2026 21:39:18 +0000 (16:39 -0500)
commitd9bc24d263fdb420f61a8a8b8bbb1a68f5a0f803
treeee3a9d71be53e39c9196c02a38da3b7d5f5d0d95
parent83b75278eb56ebc4cb73caf67572144293b739a9
drm/amd/display: Remove always-false branches

[WHAT]
program_prealpha_dealpha and hpo_frl_stream_enc_acquired are always
false and all branches depending on them will never be taken.

This is reported as DEADCODE errors by Coverity.

Reviewed-by: Roman Li <roman.li@amd.com>
Signed-off-by: Alex Hung <alex.hung@amd.com>
Tested-by: Dan Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dpp/dcn42/dcn42_dpp.c
drivers/gpu/drm/amd/display/dc/hwss/dcn42/dcn42_hwseq.c