diff options
author | Richard Weinberger <richard@nod.at> | 2011-11-02 16:37:45 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-11-02 19:06:58 -0400 |
commit | 0620d9193cb976ba635d56a6cfd11cb81616d02b (patch) | |
tree | 15e68387600a6604c1ac682c0df2c8ab56b0697a /fs/ramfs | |
parent | a3defbe5c337dbc6da911f8cc49ae3cc3b49b453 (diff) |
ramfs: remove module leftovers
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>
Diffstat (limited to 'fs/ramfs')
-rw-r--r-- | fs/ramfs/inode.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/fs/ramfs/inode.c b/fs/ramfs/inode.c index eacb166fb259..462ceb38fec6 100644 --- a/fs/ramfs/inode.c +++ b/fs/ramfs/inode.c | |||
@@ -23,7 +23,6 @@ | |||
23 | * caches is sufficient. | 23 | * caches is sufficient. |
24 | */ | 24 | */ |
25 | 25 | ||
26 | #include <linux/module.h> | ||
27 | #include <linux/fs.h> | 26 | #include <linux/fs.h> |
28 | #include <linux/pagemap.h> | 27 | #include <linux/pagemap.h> |
29 | #include <linux/highmem.h> | 28 | #include <linux/highmem.h> |
@@ -288,14 +287,7 @@ static int __init init_ramfs_fs(void) | |||
288 | { | 287 | { |
289 | return register_filesystem(&ramfs_fs_type); | 288 | return register_filesystem(&ramfs_fs_type); |
290 | } | 289 | } |
291 | |||
292 | static void __exit exit_ramfs_fs(void) | ||
293 | { | ||
294 | unregister_filesystem(&ramfs_fs_type); | ||
295 | } | ||
296 | |||
297 | module_init(init_ramfs_fs) | 290 | module_init(init_ramfs_fs) |
298 | module_exit(exit_ramfs_fs) | ||
299 | 291 | ||
300 | int __init init_rootfs(void) | 292 | int __init init_rootfs(void) |
301 | { | 293 | { |
@@ -311,5 +303,3 @@ int __init init_rootfs(void) | |||
311 | 303 | ||
312 | return err; | 304 | return err; |
313 | } | 305 | } |
314 | |||
315 | MODULE_LICENSE("GPL"); | ||