summaryrefslogtreecommitdiff
path: root/package/openwrt/mtd.c
diff options
context:
space:
mode:
authorwbx <wbx@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-03-24 21:11:24 +0000
committerwbx <wbx@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-03-24 21:11:24 +0000
commitebd5c1149c669197c10b77faca935226f6e30347 (patch)
tree7c0d841f61d54746e3f62e423b92113590590d92 /package/openwrt/mtd.c
parent6693c935f6f1a9cb5710fc2edc01ef5072a048bc (diff)
add gmp, needed for openswan
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@448 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/openwrt/mtd.c')
-rw-r--r--package/openwrt/mtd.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/package/openwrt/mtd.c b/package/openwrt/mtd.c
index 163dcc4391..13f4bf1959 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);