aboutsummaryrefslogtreecommitdiffstats
path: root/fs/debugfs
diff options
context:
space:
mode:
authorAmerigo Wang <amwang@redhat.com>2011-01-18 16:09:21 -0500
committerGreg Kroah-Hartman <gregkh@suse.de>2011-02-03 18:39:17 -0500
commit1f7da214e26a8ee4fbb66af50e27147d5d115c5a (patch)
tree196b3a7422eb5284d099239d414dba2e475dd2a7 /fs/debugfs
parent345279bc105e5a331ee81b0e8446b61f2c155784 (diff)
debugfs: remove module_exit()
debugfs can't be a module, so module_exit() is meaningless for it. Signed-off-by: WANG Cong <amwang@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'fs/debugfs')
-rw-r--r--fs/debugfs/inode.c15
1 files changed, 0 insertions, 15 deletions
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 @@
13 * 13 *
14 */ 14 */
15 15
16/* uncomment to get debug messages from the debug filesystem, ah the irony. */
17/* #define DEBUG */
18
19#include <linux/module.h> 16#include <linux/module.h>
20#include <linux/fs.h> 17#include <linux/fs.h>
21#include <linux/mount.h> 18#include <linux/mount.h>
@@ -540,17 +537,5 @@ static int __init debugfs_init(void)
540 537
541 return retval; 538 return retval;
542} 539}
543
544static void __exit debugfs_exit(void)
545{
546 debugfs_registered = false;
547
548 simple_release_fs(&debugfs_mount, &debugfs_mount_count);
549 unregister_filesystem(&debug_fs_type);
550 kobject_put(debug_kobj);
551}
552
553core_initcall(debugfs_init); 540core_initcall(debugfs_init);
554module_exit(debugfs_exit);
555MODULE_LICENSE("GPL");
556 541