summaryrefslogtreecommitdiff
path: root/init/do_mounts.c
diff options
context:
space:
mode:
Diffstat (limited to 'init/do_mounts.c')
-rw-r--r--init/do_mounts.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/init/do_mounts.c b/init/do_mounts.c
index cf317e04bbcf..4efa1e5385e3 100644
--- a/init/do_mounts.c
+++ b/init/do_mounts.c
@@ -360,16 +360,6 @@ static int __init mount_nfs_root(void)
}
#endif
-#ifdef CONFIG_ROOT_CRAMFS_LINEAR
-static int __init mount_cramfs_linear_root(void)
-{
- create_dev("/dev/root", ROOT_DEV);
- if (do_mount_root("/dev/root","cramfs",root_mountflags,root_mount_data) == 0)
- return 1;
- return 0;
-}
-#endif
-
#if defined(CONFIG_BLK_DEV_RAM) || defined(CONFIG_BLK_DEV_FD)
void __init change_floppy(char *fmt, ...)
{
@@ -402,13 +392,6 @@ void __init change_floppy(char *fmt, ...)
void __init mount_root(void)
{
-#ifdef CONFIG_ROOT_CRAMFS_LINEAR
- if (ROOT_DEV == MKDEV(0, 0)) {
- if (mount_cramfs_linear_root())
- return;
- printk (KERN_ERR "VFS: Unable to mount linear cramfs root.\n");
- }
-#endif
#ifdef CONFIG_ROOT_NFS
if (MAJOR(ROOT_DEV) == UNNAMED_MAJOR) {
if (mount_nfs_root())