Commit 0620d919 authored by Richard Weinberger's avatar Richard Weinberger Committed by Linus Torvalds

ramfs: remove module leftovers

Since ramfs is hard-selected to "y", the module leftovers make no sense.
Signed-off-by: default avatarRichard Weinberger <richard@nod.at>
Reviewed-by: default avatarWANG Cong <xiyou.wangcong@gmail.com>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: Christoph Hellwig <hch@lst.de>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent a3defbe5
...@@ -23,7 +23,6 @@ ...@@ -23,7 +23,6 @@
* caches is sufficient. * caches is sufficient.
*/ */
#include <linux/module.h>
#include <linux/fs.h> #include <linux/fs.h>
#include <linux/pagemap.h> #include <linux/pagemap.h>
#include <linux/highmem.h> #include <linux/highmem.h>
...@@ -288,14 +287,7 @@ static int __init init_ramfs_fs(void) ...@@ -288,14 +287,7 @@ static int __init init_ramfs_fs(void)
{ {
return register_filesystem(&ramfs_fs_type); return register_filesystem(&ramfs_fs_type);
} }
static void __exit exit_ramfs_fs(void)
{
unregister_filesystem(&ramfs_fs_type);
}
module_init(init_ramfs_fs) module_init(init_ramfs_fs)
module_exit(exit_ramfs_fs)
int __init init_rootfs(void) int __init init_rootfs(void)
{ {
...@@ -311,5 +303,3 @@ int __init init_rootfs(void) ...@@ -311,5 +303,3 @@ int __init init_rootfs(void)
return err; return err;
} }
MODULE_LICENSE("GPL");
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment