From cd9e3ce55be11772d1cf9a3dab2ca0d0e1ab7525 Mon Sep 17 00:00:00 2001 From: Koushik Dutta Date: Tue, 25 May 2010 13:14:50 -0700 Subject: [PATCH] revert change from zinx --- mtdutils/flash_image.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/mtdutils/flash_image.c b/mtdutils/flash_image.c index 4684683..c776876 100644 --- a/mtdutils/flash_image.c +++ b/mtdutils/flash_image.c @@ -121,10 +121,6 @@ int main(int argc, char **argv) { size_t block_size; if (mtd_partition_info(partition, NULL, &block_size, NULL)) die("error getting %s block size", argv[1]); - - // Zinx says this fixes noncongiuous memory allocation issues? - if (block_size > 2048) - block_size = 2048; if (lseek(fd, headerlen, SEEK_SET) != headerlen) die("error rewinding %s", argv[2]);