summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mdk-stage1/stage1.h2
-rw-r--r--mdk-stage1/tools.c2
2 files changed, 0 insertions, 4 deletions
diff --git a/mdk-stage1/stage1.h b/mdk-stage1/stage1.h
index 1d6fb9413..99bc1b485 100644
--- a/mdk-stage1/stage1.h
+++ b/mdk-stage1/stage1.h
@@ -35,7 +35,6 @@ extern char * interactive_fifo;
#define MODE_RESCUE (1 << 3)
#define MODE_AUTOMATIC (1 << 4)
#define MODE_DEBUGSTAGE1 (1 << 6)
-#define MODE_RAMDISK (1 << 9)
#define MODE_CHANGEDISK (1 << 10)
#define MODE_UPDATEMODULES (1 << 11)
#define MODE_NOAUTO (1 << 12)
@@ -47,7 +46,6 @@ extern char * interactive_fifo;
#define IS_RESCUE (get_param(MODE_RESCUE))
#define IS_AUTOMATIC (get_param(MODE_AUTOMATIC))
#define IS_DEBUGSTAGE1 (get_param(MODE_DEBUGSTAGE1))
-#define IS_RAMDISK (get_param(MODE_RAMDISK))
#define IS_CHANGEDISK (get_param(MODE_CHANGEDISK))
#define IS_UPDATEMODULES (get_param(MODE_UPDATEMODULES))
#define IS_NOAUTO (get_param(MODE_NOAUTO))
diff --git a/mdk-stage1/tools.c b/mdk-stage1/tools.c
index ddc939012..eeef7e8d7 100644
--- a/mdk-stage1/tools.c
+++ b/mdk-stage1/tools.c
@@ -354,8 +354,6 @@ enum return_type load_ramdisk_fd(int ramdisk_fd, int size)
if (my_mount(ramdisk, STAGE2_LOCATION, "ext2", 1))
return RETURN_ERROR;
- set_param(MODE_RAMDISK);
-
if (IS_RESCUE) {
save_stuff_for_rescue();
if (umount(STAGE2_LOCATION)) {