summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/qxl/qxl_debugfs.c
diff options
context:
space:
mode:
authorNoralf Trønnes <noralf@tronnes.org>2017-03-07 21:49:24 +0100
committerGerd Hoffmann <kraxel@redhat.com>2017-03-09 09:01:00 +0100
commit34c9d524103fc8d4657b41ab9f1120e936010793 (patch)
tree3cc6178438792ef82000ef2243bf249aa615a0b7 /drivers/gpu/drm/qxl/qxl_debugfs.c
parent1bdb5d5b8e571b8a1ce7b0f0e3abbb359c303bef (diff)
downloadtalos-op-linux-34c9d524103fc8d4657b41ab9f1120e936010793.tar.gz
talos-op-linux-34c9d524103fc8d4657b41ab9f1120e936010793.zip
drm/qxl: Remove qxl_debugfs_remove_files()
drm_debugfs_cleanup() now removes all minor->debugfs_list entries automatically, so it's not necessary to call drm_debugfs_remove_files(). Cc: airlied@linux.ie Cc: kraxel@redhat.com Signed-off-by: Noralf Trønnes <noralf@tronnes.org> Link: http://patchwork.freedesktop.org/patch/msgid/20170307204924.1002-4-noralf@tronnes.org [ kraxel: solved conflict ] Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/qxl/qxl_debugfs.c')
-rw-r--r--drivers/gpu/drm/qxl/qxl_debugfs.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/drivers/gpu/drm/qxl/qxl_debugfs.c b/drivers/gpu/drm/qxl/qxl_debugfs.c
index 8e6c78003226..ffe821b61f7d 100644
--- a/drivers/gpu/drm/qxl/qxl_debugfs.c
+++ b/drivers/gpu/drm/qxl/qxl_debugfs.c
@@ -129,16 +129,3 @@ int qxl_debugfs_add_files(struct qxl_device *qdev,
#endif
return 0;
}
-
-void qxl_debugfs_remove_files(struct qxl_device *qdev)
-{
-#if defined(CONFIG_DEBUG_FS)
- unsigned i;
-
- for (i = 0; i < qdev->debugfs_count; i++) {
- drm_debugfs_remove_files(qdev->debugfs[i].files,
- qdev->debugfs[i].num_files,
- qdev->ddev.primary);
- }
-#endif
-}
OpenPOWER on IntegriCloud