From a5ac6412f92bed3652ed1aee5a6e42dea98ff2f1 Mon Sep 17 00:00:00 2001 From: Antoine Ginies Date: Wed, 15 Jun 2011 08:39:19 +0000 Subject: fix unused-but-set-variable --- mdk-stage1/init.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'mdk-stage1/init.c') 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") -- cgit v1.2.1