From ebd5c1149c669197c10b77faca935226f6e30347 Mon Sep 17 00:00:00 2001 From: wbx Date: Thu, 24 Mar 2005 21:11:24 +0000 Subject: add gmp, needed for openswan git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@448 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/openwrt/mtd.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'package/openwrt') diff --git a/package/openwrt/mtd.c b/package/openwrt/mtd.c index 163dcc439..13f4bf195 100644 --- a/package/openwrt/mtd.c +++ b/package/openwrt/mtd.c @@ -232,10 +232,6 @@ mtd_write(const char *trxfile, const char *mtd) int mtd_update(const char *trxfile, const char *mtd) { - if (mtd_unlock(mtd) != 0) { - fprintf(stderr, "Could not unlock mtd device: %s\n", mtd); - exit(1); - } if (mtd_erase("rootfs") != 0) { fprintf(stderr, "Could not erase rootfs\n"); exit(1); -- cgit v1.2.3