[PATCH 6/8] drm/radeon: Remove redundant debugfs cleanup
Chris Wilson
chris at chris-wilson.co.uk
Sun Jul 7 12:02:23 PDT 2013
All inode removal is handled for us by the core.
Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
Cc: Alex Deucher <alexander.deucher at amd.com>
Cc: Jerome Glisse <jglisse at redhat.com>
---
drivers/gpu/drm/radeon/radeon_device.c | 4 ----
drivers/gpu/drm/radeon/radeon_drv.c | 2 --
2 files changed, 6 deletions(-)
diff --git a/drivers/gpu/drm/radeon/radeon_device.c b/drivers/gpu/drm/radeon/radeon_device.c
index 82335e3..319d66b 100644
--- a/drivers/gpu/drm/radeon/radeon_device.c
+++ b/drivers/gpu/drm/radeon/radeon_device.c
@@ -1635,8 +1635,4 @@ int radeon_debugfs_init(struct drm_minor *minor)
{
return 0;
}
-
-void radeon_debugfs_cleanup(struct drm_minor *minor)
-{
-}
#endif
diff --git a/drivers/gpu/drm/radeon/radeon_drv.c b/drivers/gpu/drm/radeon/radeon_drv.c
index e5419b3..f8de877 100644
--- a/drivers/gpu/drm/radeon/radeon_drv.c
+++ b/drivers/gpu/drm/radeon/radeon_drv.c
@@ -136,7 +136,6 @@ extern long radeon_kms_compat_ioctl(struct file *filp, unsigned int cmd,
#if defined(CONFIG_DEBUG_FS)
int radeon_debugfs_init(struct drm_minor *minor);
-void radeon_debugfs_cleanup(struct drm_minor *minor);
#endif
/* atpx handler */
@@ -406,7 +405,6 @@ static struct drm_driver kms_driver = {
.get_scanout_position = radeon_get_crtc_scanoutpos,
#if defined(CONFIG_DEBUG_FS)
.debugfs_init = radeon_debugfs_init,
- .debugfs_cleanup = radeon_debugfs_cleanup,
#endif
.irq_preinstall = radeon_driver_irq_preinstall_kms,
.irq_postinstall = radeon_driver_irq_postinstall_kms,
--
1.8.3.2
More information about the dri-devel
mailing list