]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd: move variable to local scope
authorMario Limonciello <mario.limonciello@amd.com>
Fri, 10 Dec 2021 15:49:52 +0000 (09:49 -0600)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 13 Dec 2021 21:33:16 +0000 (16:33 -0500)
commit6776d4e85bd8fb1cf1b78f5cfd595cff283725c5
tree416e6e9dd124bf8e86bdcecd0bddd20aa9b6331f
parent0c52c58eb15899fe4a7e501b2af251c16e824526
drm/amd: move variable to local scope

`edp_stream` is only used when backend is enabled on eDP, don't
declare the variable outside that scope.

Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c