drm/ast: Use the drm_driver.dumb_destroy default
authorNoralf Trønnes <noralf@tronnes.org>
Sun, 6 Aug 2017 15:40:59 +0000 (17:40 +0200)
committerNoralf Trønnes <noralf@tronnes.org>
Wed, 16 Aug 2017 18:16:10 +0000 (20:16 +0200)
drm_gem_dumb_destroy() is the drm_driver.dumb_destroy default,
so no need to set it.

Cc: Dave Airlie <airlied@redhat.com>
Signed-off-by: Noralf Trønnes <noralf@tronnes.org>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/1502034068-51384-11-git-send-email-noralf@tronnes.org
drivers/gpu/drm/ast/ast_drv.c

index 3022b39c00f37b5ee7c079cb89d4beb2c6ff731d..69dab82a37714853b5dfdb74dbe479f7d6c10fb1 100644 (file)
@@ -209,7 +209,6 @@ static struct drm_driver driver = {
        .gem_free_object_unlocked = ast_gem_free_object,
        .dumb_create = ast_dumb_create,
        .dumb_map_offset = ast_dumb_mmap_offset,
-       .dumb_destroy = drm_gem_dumb_destroy,
 
 };