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

Cc: Rob Clark <robdclark@gmail.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-13-git-send-email-noralf@tronnes.org
drivers/gpu/drm/msm/msm_drv.c

index f49f6ac5585c4ff7aabf1ecf7fe3c9d61a4de4ee..b0129e7b29e3067e9f00dfa578da8d13e1b4c7fa 100644 (file)
@@ -832,7 +832,6 @@ static struct drm_driver msm_driver = {
        .gem_vm_ops         = &vm_ops,
        .dumb_create        = msm_gem_dumb_create,
        .dumb_map_offset    = msm_gem_dumb_map_offset,
-       .dumb_destroy       = drm_gem_dumb_destroy,
        .prime_handle_to_fd = drm_gem_prime_handle_to_fd,
        .prime_fd_to_handle = drm_gem_prime_fd_to_handle,
        .gem_prime_export   = drm_gem_prime_export,