drm/qxl: Remove qxl_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-19-noralf@tronnes.org
This commit is contained in:

committed by
Daniel Vetter

parent
e663112e27
commit
cc14d46ba1
@@ -100,15 +100,6 @@ qxl_debugfs_init(struct drm_minor *minor)
|
||||
return 0;
|
||||
}
|
||||
|
||||
void
|
||||
qxl_debugfs_takedown(struct drm_minor *minor)
|
||||
{
|
||||
#if defined(CONFIG_DEBUG_FS)
|
||||
drm_debugfs_remove_files(qxl_debugfs_list, QXL_DEBUGFS_ENTRIES,
|
||||
minor);
|
||||
#endif
|
||||
}
|
||||
|
||||
int qxl_debugfs_add_files(struct qxl_device *qdev,
|
||||
struct drm_info_list *files,
|
||||
unsigned nfiles)
|
||||
|
Reference in New Issue
Block a user