diff options
author | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2007-01-30 09:50:43 +0100 |
---|---|---|
committer | David Woodhouse <dwmw2@infradead.org> | 2007-02-09 16:27:12 +0100 |
commit | 64f60710568db5cec1a76c1d1e261b239f9ef809 (patch) | |
tree | 211872ced9ff58baf4480fc99a1d58743b001586 /drivers/mtd/mtdpart.c | |
parent | [MTD] [NOR] Intel: remove ugly PROGREGION macros (diff) | |
download | linux-64f60710568db5cec1a76c1d1e261b239f9ef809.tar.xz linux-64f60710568db5cec1a76c1d1e261b239f9ef809.zip |
[MTD] remove unused ecctype,eccsize fields from struct mtd_info
Remove unused and broken mtd->ecctype and mtd->eccsize fields
from struct mtd_info. Do not remove them from userspace API
data structures (don't want to breake userspace) but mark them
as obsolete by a comment. Any userspace program which uses them
should be half-broken anyway, so this is more about saving
data structure size.
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Diffstat (limited to 'drivers/mtd/mtdpart.c')
-rw-r--r-- | drivers/mtd/mtdpart.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/mtd/mtdpart.c b/drivers/mtd/mtdpart.c index bafd2fba87bd..633def3fb087 100644 --- a/drivers/mtd/mtdpart.c +++ b/drivers/mtd/mtdpart.c @@ -338,8 +338,6 @@ int add_mtd_partitions(struct mtd_info *master, slave->mtd.size = parts[i].size; slave->mtd.writesize = master->writesize; slave->mtd.oobsize = master->oobsize; - slave->mtd.ecctype = master->ecctype; - slave->mtd.eccsize = master->eccsize; slave->mtd.subpage_sft = master->subpage_sft; slave->mtd.name = parts[i].name; |