MTD: remove mtd_info->bank_size
PATCH 1/1 MTD: remove mtd_info->bank_size
According to the comment the variable should go away in 2.5. There are no in-tree users of this variable left.
Signed-off-by Martin Waitz <[email protected]>
---
drivers/mtd/mtdpart.c | 1 - include/linux/mtd/mtd.h | 3 --- 2 files changed, 0 insertions(+), 4 deletions(-)
e973bcb6279c0d772afe4e969a3323265dcb0e00
drivers/mtd/mtdpart.c +0 -1
@@ -404,7 +404,6 @@ int add_mtd_partitions(struct mtd_info * slave->mtd.eccsize = master->eccsize; slave->mtd.name = parts[i].name; - slave->mtd.bank_size = master->bank_size; slave->mtd.owner = master->owner; slave->mtd.read = part_read;
include/linux/mtd/mtd.h +0 -3
@@ -97,9 +97,6 @@ #define MTD_PROGREGION_CTRLMODE_INVALID(int numeraseregions;struct mtd_erase_region_info *eraseregions; -/* This really shouldn't be here. It can go away in 2.5 */ -u_int32_t bank_size; -int (*erase) (struct mtd_info *mtd,struct erase_info *instr);/* This stuff for eXecute-In-Place */
Signature · 5 lines
1.3.0.gc5417 -- Martin Waitz
Jörn Engel
AppliedQuoted 5 lines · Martin Waitz
According to the comment the variable should go away in 2.5. There are no in-tree users of this variable left.
Signed-off-by Martin Waitz <[email protected]>
Applied, thanks.
Jörn
Signature · 3 lines
It is better to die of hunger having lived without grief and fear, than to live with a troubled spirit amid abundance. -- Epictetus