]> git.baikalelectronics.ru Git - kernel.git/commitdiff
drm/amd/display: Remove superfluous drm_mode_config_cleanup
authorAndrey Grodzovsky <andrey.grodzovsky@amd.com>
Wed, 12 May 2021 14:26:46 +0000 (10:26 -0400)
committerAndrey Grodzovsky <andrey.grodzovsky@amd.com>
Thu, 20 May 2021 03:50:28 +0000 (23:50 -0400)
It's already being released by DRM core through devm

Signed-off-by: Andrey Grodzovsky <andrey.grodzovsky@amd.com>
Reviewed-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210512142648.666476-15-andrey.grodzovsky@amd.com
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c

index f7112865269a64f11851960876f7cb3054ef36d9..cc32485152b7b44334b3e163b16122557dcca880 100644 (file)
@@ -3764,7 +3764,6 @@ fail:
 
 static void amdgpu_dm_destroy_drm_device(struct amdgpu_display_manager *dm)
 {
-       drm_mode_config_cleanup(dm->ddev);
        drm_atomic_private_obj_fini(&dm->atomic_obj);
        return;
 }