mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
ramfs: remove module leftovers
Since ramfs is hard-selected to "y", the module leftovers make no sense. Signed-off-by: Richard Weinberger <[email protected]> Reviewed-by: WANG Cong <[email protected]> Cc: Al Viro <[email protected]> Cc: Christoph Hellwig <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
a3defbe5c3
commit
0620d9193c
1 changed files with 0 additions and 10 deletions
|
|
@ -23,7 +23,6 @@
|
|||
* caches is sufficient.
|
||||
*/
|
||||
|
||||
#include <linux/module.h>
|
||||
#include <linux/fs.h>
|
||||
#include <linux/pagemap.h>
|
||||
#include <linux/highmem.h>
|
||||
|
|
@ -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)
|
||||
{
|
||||
|
|
@ -311,5 +303,3 @@ int __init init_rootfs(void)
|
|||
|
||||
return err;
|
||||
}
|
||||
|
||||
MODULE_LICENSE("GPL");
|
||||
|
|
|
|||
Loading…
Reference in a new issue