diff options
author | Noralf Trønnes <noralf@tronnes.org> | 2017-01-26 23:56:19 +0100 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2017-03-01 16:09:52 +0100 |
commit | e663112e27807b10cbb7769c89462faff8da06a9 (patch) | |
tree | c26c048108635d30d696a1bc5414edac29f8f6b7 /drivers/gpu/drm/virtio/virtgpu_debugfs.c | |
parent | 1a54082a950c969cb3234167f788af99e2062f29 (diff) | |
download | linux-e663112e27807b10cbb7769c89462faff8da06a9.tar.bz2 |
drm/virtio: Remove virtio_gpu_debugfs_takedown()
drm_debugfs_cleanup() now removes all minor->debugfs_list entries
automatically, so the drm_driver.debugfs_cleanup callback is not
needed.
Cc: airlied@linux.ie
Cc: kraxel@redhat.com
Signed-off-by: Noralf Trønnes <noralf@tronnes.org>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/20170126225621.12314-18-noralf@tronnes.org
Diffstat (limited to 'drivers/gpu/drm/virtio/virtgpu_debugfs.c')
-rw-r--r-- | drivers/gpu/drm/virtio/virtgpu_debugfs.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/gpu/drm/virtio/virtgpu_debugfs.c b/drivers/gpu/drm/virtio/virtgpu_debugfs.c index 512263919282..f51240aa720d 100644 --- a/drivers/gpu/drm/virtio/virtgpu_debugfs.c +++ b/drivers/gpu/drm/virtio/virtgpu_debugfs.c @@ -54,11 +54,3 @@ virtio_gpu_debugfs_init(struct drm_minor *minor) minor->debugfs_root, minor); return 0; } - -void -virtio_gpu_debugfs_takedown(struct drm_minor *minor) -{ - drm_debugfs_remove_files(virtio_gpu_debugfs_list, - VIRTIO_GPU_DEBUGFS_ENTRIES, - minor); -} |