diff options
author | Noralf Trønnes <noralf@tronnes.org> | 2017-08-06 17:41:03 +0200 |
---|---|---|
committer | Noralf Trønnes <noralf@tronnes.org> | 2017-08-16 20:18:22 +0200 |
commit | 8d4acc18932092a54d10dd781c6106fff3110eb7 (patch) | |
tree | 2255d7d22b7e401716b0d94bffb5f6695d526b48 /drivers/gpu/drm/mgag200 | |
parent | 4d12c2335df3e39e0ca1e85f49f93e75c7b22b74 (diff) | |
download | linux-8d4acc18932092a54d10dd781c6106fff3110eb7.tar.gz linux-8d4acc18932092a54d10dd781c6106fff3110eb7.tar.bz2 linux-8d4acc18932092a54d10dd781c6106fff3110eb7.zip |
drm/mgag200: Use the drm_driver.dumb_destroy default
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-15-git-send-email-noralf@tronnes.org
Diffstat (limited to 'drivers/gpu/drm/mgag200')
-rw-r--r-- | drivers/gpu/drm/mgag200/mgag200_drv.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/mgag200/mgag200_drv.c b/drivers/gpu/drm/mgag200/mgag200_drv.c index 4189160af726..74cdde2ee474 100644 --- a/drivers/gpu/drm/mgag200/mgag200_drv.c +++ b/drivers/gpu/drm/mgag200/mgag200_drv.c @@ -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 = { |