mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 22:40:54 -04:00
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>
This commit is contained in:
parent
53a53f8687
commit
d90e9a3bf5
1 changed files with 0 additions and 3 deletions
|
|
@ -677,9 +677,6 @@ static void destruct(struct dce110_resource_pool *pool)
|
|||
pool->base.timing_generators[i] = NULL;
|
||||
}
|
||||
|
||||
if (pool->base.engines[i] != NULL)
|
||||
dce110_engine_destroy(&pool->base.engines[i]);
|
||||
|
||||
}
|
||||
|
||||
for (i = 0; i < pool->base.stream_enc_count; i++) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue