From ef7747d676cc09dac90ae589e677b89f066ea3c8 Mon Sep 17 00:00:00 2001 From: Ales Kozumplik Date: Thu, 22 Apr 2010 15:44:38 +0200 Subject: removal: umountStage2(). It's not called from anywhere. We unmount all filesystems in the end anyway, using the machinery in loader/undomounts.c. --- loader/method.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'loader/method.c') diff --git a/loader/method.c b/loader/method.c index 503f6c13b..3ca669fa9 100644 --- a/loader/method.c +++ b/loader/method.c @@ -418,12 +418,6 @@ void copyProductImg(char * path) { } } -/* unmount a second stage, if mounted. Used for CDs and mediacheck mostly, - so we can eject CDs. */ -void umountStage2(void) { - umountLoopback("/mnt/runtime", "/dev/loop0"); -} - /** Bind the uncompressed second stage to /mnt/runtime. * * return 0 on success, 1 on failure to mount. -- cgit