From: Felix Fietkau Date: Thu, 2 Oct 2008 18:31:26 +0000 (+0000) Subject: remove accidentally committed debug message X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=0d7121769524c1a3f8803667fe4d6eca635fca63;p=openwrt%2Fstaging%2Fthess.git remove accidentally committed debug message SVN-Revision: 12827 --- diff --git a/package/mtd/src/mtd.c b/package/mtd/src/mtd.c index 3e84fd696e..761139f4e7 100644 --- a/package/mtd/src/mtd.c +++ b/package/mtd/src/mtd.c @@ -276,10 +276,8 @@ mtd_write(int imagefd, const char *mtd) } } - if (r == 0) { - fprintf(stderr, "No more data left\n"); + if (r == 0) break; - } buflen += r; } while (buflen < erasesize);