Skip to content

Commit

Permalink
ramfs: remove module leftovers
Browse files Browse the repository at this point in the history
Since ramfs is hard-selected to "y", the module leftovers make no sense.

Signed-off-by: Richard Weinberger <richard@nod.at>
Reviewed-by: WANG Cong <xiyou.wangcong@gmail.com>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: Christoph Hellwig <hch@lst.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
Richard Weinberger authored and Linus Torvalds committed Nov 2, 2011
1 parent a3defbe commit 0620d91
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions fs/ramfs/inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
* caches is sufficient.
*/

#include <linux/module.h>
#include <linux/fs.h>
#include <linux/pagemap.h>
#include <linux/highmem.h>
Expand Down Expand Up @@ -288,14 +287,7 @@ static int __init init_ramfs_fs(void)
{
return register_filesystem(&ramfs_fs_type);
}

static void __exit exit_ramfs_fs(void)
{
unregister_filesystem(&ramfs_fs_type);
}

module_init(init_ramfs_fs)
module_exit(exit_ramfs_fs)

int __init init_rootfs(void)
{
Expand All @@ -311,5 +303,3 @@ int __init init_rootfs(void)

return err;
}

MODULE_LICENSE("GPL");

0 comments on commit 0620d91

Please sign in to comment.