diff options
author | Noralf Trønnes <noralf@tronnes.org> | 2017-08-06 17:41:05 +0200 |
---|---|---|
committer | Noralf Trønnes <noralf@tronnes.org> | 2017-08-16 20:18:55 +0200 |
commit | 9b5b5ca5abb24c0c1198e77a8b464d248b6e2507 (patch) | |
tree | eb806b81705a63836191a32a272b41a338fb3c7a /drivers/gpu/drm/bochs/bochs_drv.c | |
parent | drm/mgag200: Use the drm_driver.dumb_destroy default (diff) | |
download | linux-9b5b5ca5abb24c0c1198e77a8b464d248b6e2507.tar.xz linux-9b5b5ca5abb24c0c1198e77a8b464d248b6e2507.zip |
drm/bochs: 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: 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-17-git-send-email-noralf@tronnes.org
Diffstat (limited to 'drivers/gpu/drm/bochs/bochs_drv.c')
-rw-r--r-- | drivers/gpu/drm/bochs/bochs_drv.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/bochs/bochs_drv.c b/drivers/gpu/drm/bochs/bochs_drv.c index a1d28845da5f..7b20318483e4 100644 --- a/drivers/gpu/drm/bochs/bochs_drv.c +++ b/drivers/gpu/drm/bochs/bochs_drv.c @@ -93,7 +93,6 @@ static struct drm_driver bochs_driver = { .gem_free_object_unlocked = bochs_gem_free_object, .dumb_create = bochs_dumb_create, .dumb_map_offset = bochs_dumb_mmap_offset, - .dumb_destroy = drm_gem_dumb_destroy, }; /* ---------------------------------------------------------------------- */ |