summaryrefslogtreecommitdiffstats
path: root/mdk-stage1/init.c
diff options
context:
space:
mode:
authorAntoine Ginies <aginies@mandriva.com>2011-06-15 08:39:19 +0000
committerAntoine Ginies <aginies@mandriva.com>2011-06-15 08:39:19 +0000
commita5ac6412f92bed3652ed1aee5a6e42dea98ff2f1 (patch)
treefd2da2948fbe1c907281939a5fa67416d495bfe6 /mdk-stage1/init.c
parent915dd4836890db9fdd86bfc38621b243abd7360e (diff)
downloaddrakx-backup-do-not-use-distro/mes6.tar
drakx-backup-do-not-use-distro/mes6.tar.gz
drakx-backup-do-not-use-distro/mes6.tar.bz2
drakx-backup-do-not-use-distro/mes6.tar.xz
drakx-backup-do-not-use-distro/mes6.zip
fix unused-but-set-variabledistro/mes6
Diffstat (limited to 'mdk-stage1/init.c')
-rw-r--r--mdk-stage1/init.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/mdk-stage1/init.c b/mdk-stage1/init.c
index a74a703d2..5b1778b9b 100644
--- a/mdk-stage1/init.c
+++ b/mdk-stage1/init.c
@@ -310,7 +310,6 @@ void unmount_filesystems(void)
struct filesystem fs[500];
int numfs = 0;
int i, nb;
- int disallow_eject = 0;
printf("unmounting filesystems...\n");
@@ -340,8 +339,6 @@ void unmount_filesystems(void)
*p++ = '\0';
while (*p != '\n') p++;
p++;
- if (!strcmp(fs[numfs].fs, "nfs"))
- disallow_eject = 1;
if (strcmp(fs[numfs].name, "/")
&& !strstr(fs[numfs].dev, "ram")
&& strcmp(fs[numfs].name, "/dev")