summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/drm_debugfs.c
diff options
context:
space:
mode:
authorNoralf Trønnes <noralf@tronnes.org>2017-03-07 23:49:23 +0300
committerDaniel Vetter <daniel.vetter@ffwll.ch>2017-03-08 13:29:08 +0300
commit1bdb5d5b8e571b8a1ce7b0f0e3abbb359c303bef (patch)
tree8482f5c1cda388ca12b155d1ddd5e29ab0539798 /drivers/gpu/drm/drm_debugfs.c
parent85eac4700ede7c583aab29ad6bdfe135f693c29b (diff)
downloadlinux-1bdb5d5b8e571b8a1ce7b0f0e3abbb359c303bef.tar.xz
drm/debugfs: Remove the drm_driver.debugfs_cleanup callback
Remove the .debugfs_cleanup() callback now that all the users are gone. 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/20170307204924.1002-3-noralf@tronnes.org
Diffstat (limited to 'drivers/gpu/drm/drm_debugfs.c')
-rw-r--r--drivers/gpu/drm/drm_debugfs.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/gpu/drm/drm_debugfs.c b/drivers/gpu/drm/drm_debugfs.c
index 8b2c61ae0004..1d2d18d82d2e 100644
--- a/drivers/gpu/drm/drm_debugfs.c
+++ b/drivers/gpu/drm/drm_debugfs.c
@@ -242,14 +242,9 @@ static void drm_debugfs_remove_all_files(struct drm_minor *minor)
*/
int drm_debugfs_cleanup(struct drm_minor *minor)
{
- struct drm_device *dev = minor->dev;
-
if (!minor->debugfs_root)
return 0;
- if (dev->driver->debugfs_cleanup)
- dev->driver->debugfs_cleanup(minor);
-
drm_debugfs_remove_all_files(minor);
debugfs_remove_recursive(minor->debugfs_root);