diff options
author | Robert P. J. Day <rpjday@mindspring.com> | 2007-05-04 15:49:38 -0400 |
---|---|---|
committer | David Woodhouse <dwmw2@infradead.org> | 2007-05-09 08:26:52 -0400 |
commit | 42f209d3c94516affeb5e578fae62925f531a2d9 (patch) | |
tree | 806035c350303fa8e19c7aa5e5a5f4c4b3128752 /drivers | |
parent | 36200b76008d52d16b170d4f7dae9cfe00f5eb2b (diff) |
[MTD] Delete allegedly obsolete "bank_size" field of mtd_info.
Delete the allegedly obsolete "bank_size" member of struct mtd_info.
Signed-off-by: Robert P. J. Day <rpjday@mindspring.com>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/mtd/mtdpart.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/mtd/mtdpart.c b/drivers/mtd/mtdpart.c index 1af989023c66..9c6236852942 100644 --- a/drivers/mtd/mtdpart.c +++ b/drivers/mtd/mtdpart.c | |||
@@ -347,7 +347,6 @@ int add_mtd_partitions(struct mtd_info *master, | |||
347 | slave->mtd.subpage_sft = master->subpage_sft; | 347 | slave->mtd.subpage_sft = master->subpage_sft; |
348 | 348 | ||
349 | slave->mtd.name = parts[i].name; | 349 | slave->mtd.name = parts[i].name; |
350 | slave->mtd.bank_size = master->bank_size; | ||
351 | slave->mtd.owner = master->owner; | 350 | slave->mtd.owner = master->owner; |
352 | 351 | ||
353 | slave->mtd.read = part_read; | 352 | slave->mtd.read = part_read; |