revert change from zinx

This commit is contained in:
Koushik Dutta 2010-05-25 13:14:50 -07:00
parent 77c452689d
commit cd9e3ce55b

View File

@ -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]);