OSDN Git Service

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)
commit2b36afc694bb3eba5a065c34fa0d735d623ae66f
tree416e6e9dd124bf8e86bdcecd0bddd20aa9b6331f
parent4fe3819443a13f8ecf11f53559ada5711dd8d4b1
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