@@ -1635,8 +1635,4 @@ int radeon_debugfs_init(struct drm_minor *minor)
{
return 0;
}
-
-void radeon_debugfs_cleanup(struct drm_minor *minor)
-{
-}
#endif
@@ -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,
All inode removal is handled for us by the core. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Cc: Alex Deucher <alexander.deucher@amd.com> Cc: Jerome Glisse <jglisse@redhat.com> --- drivers/gpu/drm/radeon/radeon_device.c | 4 ---- drivers/gpu/drm/radeon/radeon_drv.c | 2 -- 2 files changed, 6 deletions(-)