From: Amerigo Wang Date: Tue, 18 Jan 2011 21:09:21 +0000 (-0800) Subject: debugfs: remove module_exit() X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=1f7da214e26a8ee4fbb66af50e27147d5d115c5a;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git debugfs: remove module_exit() debugfs can't be a module, so module_exit() is meaningless for it. Signed-off-by: WANG Cong Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman --- diff --git a/fs/debugfs/inode.c b/fs/debugfs/inode.c index 37a8ca7c1222..d38c88fb63ae 100644 --- a/fs/debugfs/inode.c +++ b/fs/debugfs/inode.c @@ -13,9 +13,6 @@ * */ -/* uncomment to get debug messages from the debug filesystem, ah the irony. */ -/* #define DEBUG */ - #include #include #include @@ -540,17 +537,5 @@ static int __init debugfs_init(void) return retval; } - -static void __exit debugfs_exit(void) -{ - debugfs_registered = false; - - simple_release_fs(&debugfs_mount, &debugfs_mount_count); - unregister_filesystem(&debug_fs_type); - kobject_put(debug_kobj); -} - core_initcall(debugfs_init); -module_exit(debugfs_exit); -MODULE_LICENSE("GPL");