drm/mgag200: Use the drm_driver.dumb_destroy default
authorNoralf Trønnes <[email protected]>
Sun, 6 Aug 2017 15:41:03 +0000 (17:41 +0200)
committerNoralf Trønnes <[email protected]>
Wed, 16 Aug 2017 18:18:22 +0000 (20:18 +0200)
drm_gem_dumb_destroy() is the drm_driver.dumb_destroy default,
so no need to set it.

Cc: Dave Airlie <[email protected]>
Signed-off-by: Noralf Trønnes <[email protected]>
Reviewed-by: Daniel Vetter <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
drivers/gpu/drm/mgag200/mgag200_drv.c

index 4189160af7264bc1c99f3f6acc01b5d10dfb504d..74cdde2ee474df7afd5a95c5c88d2d287ba7c95c 100644 (file)
@@ -102,7 +102,6 @@ static struct drm_driver driver = {
        .gem_free_object_unlocked = mgag200_gem_free_object,
        .dumb_create = mgag200_dumb_create,
        .dumb_map_offset = mgag200_dumb_mmap_offset,
-       .dumb_destroy = drm_gem_dumb_destroy,
 };
 
 static struct pci_driver mgag200_pci_driver = {