]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Destroy aux_engines only once
authorDavid Francis <David.Francis@amd.com>
Thu, 19 Jul 2018 19:48:24 +0000 (15:48 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 6 Aug 2018 19:35:24 +0000 (14:35 -0500)
commita9e5b6eddde0837ec82bbdb8f0d2d8f508149e52
treea8910ec9de691f0d22a002a9845b90c09d86541e
parent5006bea774acb0833488f63550ca023537099e36
drm/amd/display: Destroy aux_engines only once

[Why]
In the dce112 function to destroy the resource pool, engines
(the aux engines) is destroyed twice.  This has no ill effects
but is a tad redundant.

[How]
Remove the redundant call

Signed-off-by: David Francis <David.Francis@amd.com>
Reviewed-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dce112/dce112_resource.c