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

Cc: Dave Airlie <airlied@redhat.com>
Cc: Gerd Hoffmann <kraxel@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-10-git-send-email-noralf@tronnes.org
drivers/gpu/drm/qxl/qxl_drv.c

index 403e135895bf1cf1d8bd9d21f1277c4748f45e66..2445e75cf7ea6664854325a6383fe0e32e2bdd57 100644 (file)
@@ -263,7 +263,6 @@ static struct drm_driver qxl_driver = {
 
        .dumb_create = qxl_mode_dumb_create,
        .dumb_map_offset = qxl_mode_dumb_mmap,
-       .dumb_destroy = drm_gem_dumb_destroy,
 #if defined(CONFIG_DEBUG_FS)
        .debugfs_init = qxl_debugfs_init,
 #endif