]> asedeno.scripts.mit.edu Git - linux.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)
commitd90e9a3bf5e747f0e3b0c8bec96d8699493f63ab
treea8910ec9de691f0d22a002a9845b90c09d86541e
parent53a53f8687faf492df2644d8c18ff0217fc18730
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