remove accidentally committed debug message
authorFelix Fietkau <nbd@openwrt.org>
Thu, 2 Oct 2008 18:31:26 +0000 (18:31 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Thu, 2 Oct 2008 18:31:26 +0000 (18:31 +0000)
SVN-Revision: 12827

package/mtd/src/mtd.c

index 3e84fd6..761139f 100644 (file)
@@ -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);