summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
Diffstat (limited to 'init')
-rw-r--r--init/do_mounts.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/init/do_mounts.c b/init/do_mounts.c
index cfd4820b4654..e469442e0bee 100644
--- a/init/do_mounts.c
+++ b/init/do_mounts.c
@@ -717,8 +717,6 @@ void __init prepare_namespace(void)
is_floppy = MAJOR(ROOT_DEV) == FLOPPY_MAJOR;
#ifdef CONFIG_BLK_DEV_INITRD
- if (!initrd_start)
- mount_initrd = 0;
real_root_dev = ROOT_DEV;
#endif