]> www.infradead.org Git - nvme.git/commit
drm/amd/display: avoid variable reinitialization
authorBragatheswaran Manickavel <bragathemanick0908@gmail.com>
Tue, 24 Oct 2023 18:11:34 +0000 (23:41 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 7 Nov 2023 17:03:31 +0000 (12:03 -0500)
commitc68b4550b6b432cbb05ad30f67178d2d3845d919
treef79cb9e8fd60a83192205660438250e065adcae7
parent8cfd6a05750cd7aa84e7f1e5933fa7781006bfc3
drm/amd/display: avoid variable reinitialization

The member variable enable_hpo_pg_support is already initialized
and hence the reinitialization instruction can be removed. Issue
identified using the doubleinit.cocci Coccinelle semantic patch script.

Signed-off-by: Bragatheswaran Manickavel <bragathemanick0908@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn35/dcn35_resource.c