]> err.no Git - linux-2.6/commitdiff
[MTD] Delete allegedly obsolete "bank_size" field of mtd_info.
authorRobert P. J. Day <rpjday@mindspring.com>
Fri, 4 May 2007 19:49:38 +0000 (15:49 -0400)
committerDavid Woodhouse <dwmw2@infradead.org>
Wed, 9 May 2007 12:26:52 +0000 (13:26 +0100)
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>
drivers/mtd/mtdpart.c
include/linux/mtd/mtd.h

index 1af989023c6644ca89c8e4107c21fcde8137904d..9c6236852942ec7e98441c5a333c1786a0e83a0c 100644 (file)
@@ -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;
index 12a9a18f6e16cac116198bb141e357b0c5354c6f..fd64ccfbce02874fd2600b79dc02d84767bde7ae 100644 (file)
@@ -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 */