9
0
Fork 0

mtd: delete partition erase size initialisation

Delete the partition erase size initialisation to let the code
that follows determine the biggest partition erase size.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
Renaud Barbier 2014-07-02 16:55:14 +01:00 committed by Sascha Hauer
parent 621266d3a4
commit c8890e057a
1 changed files with 0 additions and 1 deletions

View File

@ -108,7 +108,6 @@ struct mtd_info *mtd_add_partition(struct mtd_info *mtd, off_t offset,
part->type = mtd->type;
part->flags = mtd->flags;
part->parent = &mtd->class_dev;
part->erasesize = mtd->erasesize;
part->writesize = mtd->writesize;
part->writebufsize = mtd->writebufsize;
part->oobsize = mtd->oobsize;