diff options
| author | Kai Germaschewski <kai@tp1.ruhr-uni-bochum.de> | 2003-02-21 12:01:38 -0600 |
|---|---|---|
| committer | Kai Germaschewski <kai@tp1.ruhr-uni-bochum.de> | 2003-02-21 12:01:38 -0600 |
| commit | bbacce2d9583f8d85607103f27f72da818d249a5 (patch) | |
| tree | 3a15cca915e71c8120914b1594c43c97bb1307fd /init | |
| parent | cfc5a5b45c18760c612c01220d0001d2a4d0ca9a (diff) | |
do_mounts: Remove unneeded check for initrd_start
If initrd_start is 0, initrd_load() -> rd_load_image() -> open("dev/initrd")
will fail anyway, so no need for the explicit check here.
Diffstat (limited to 'init')
| -rw-r--r-- | init/do_mounts.c | 2 |
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 |
