Skip to content

Commit

Permalink
[MTD] Delete allegedly obsolete "bank_size" field of mtd_info.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Robert P. J. Day authored and David Woodhouse committed May 9, 2007
1 parent 36200b7 commit 42f209d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion drivers/mtd/mtdpart.c
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,6 @@ int add_mtd_partitions(struct mtd_info *master,
slave->mtd.subpage_sft = master->subpage_sft;

slave->mtd.name = parts[i].name;
slave->mtd.bank_size = master->bank_size;
slave->mtd.owner = master->owner;

slave->mtd.read = part_read;
Expand Down
3 changes: 0 additions & 3 deletions include/linux/mtd/mtd.h
Original file line number Diff line number Diff line change
Expand Up @@ -133,9 +133,6 @@ struct mtd_info {
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 */
Expand Down

0 comments on commit 42f209d

Please sign in to comment.