summaryrefslogtreecommitdiff
path: root/init/do_mounts_initrd.c
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2015-09-08 01:01:14 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2015-09-08 01:01:14 -0300
commite5fd91f1ef340da553f7a79da9540c3db711c937 (patch)
treeb11842027dc6641da63f4bcc524f8678263304a3 /init/do_mounts_initrd.c
parent2a9b0348e685a63d97486f6749622b61e9e3292f (diff)
Linux-libre 4.2-gnu
Diffstat (limited to 'init/do_mounts_initrd.c')
-rw-r--r--init/do_mounts_initrd.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/init/do_mounts_initrd.c b/init/do_mounts_initrd.c
index a49c59680..3e0878e8a 100644
--- a/init/do_mounts_initrd.c
+++ b/init/do_mounts_initrd.c
@@ -15,7 +15,6 @@
#include <linux/romfs_fs.h>
#include <linux/initrd.h>
#include <linux/sched.h>
-#include <linux/suspend.h>
#include <linux/freezer.h>
#include <linux/kmod.h>
@@ -80,11 +79,6 @@ static void __init handle_initrd(void)
current->flags &= ~PF_FREEZER_SKIP;
- if (!resume_attempted)
- printk(KERN_ERR "TuxOnIce: No attempt was made to resume from "
- "any image that might exist.\n");
- clear_toi_state(TOI_BOOT_TIME);
-
/* move initrd to rootfs' /old */
sys_mount("..", ".", NULL, MS_MOVE, NULL);
/* switch root and cwd back to / of rootfs */