drm/virtio: Use the drm_driver.dumb_destroy default
virtio_gpu_mode_dumb_destroy() is the same as drm_gem_dumb_destroy() which is the drm_driver.dumb_destroy default, so no need to set it. Cc: David Airlie <airlied@linux.ie> 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-19-git-send-email-noralf@tronnes.org
This commit is contained in:
@@ -122,7 +122,6 @@ static struct drm_driver driver = {
|
||||
|
||||
.dumb_create = virtio_gpu_mode_dumb_create,
|
||||
.dumb_map_offset = virtio_gpu_mode_dumb_mmap,
|
||||
.dumb_destroy = virtio_gpu_mode_dumb_destroy,
|
||||
|
||||
#if defined(CONFIG_DEBUG_FS)
|
||||
.debugfs_init = virtio_gpu_debugfs_init,
|
||||
|
Reference in New Issue
Block a user