[MTD] remove unused ecctype,eccsize fields from struct mtd_info
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Tue, 30 Jan 2007 08:50:43 +0000 (10:50 +0200)
committerDavid Woodhouse <dwmw2@infradead.org>
Fri, 9 Feb 2007 15:27:12 +0000 (15:27 +0000)
commit64f60710568db5cec1a76c1d1e261b239f9ef809
tree211872ced9ff58baf4480fc99a1d58743b001586
parentd416085572eb6a44fd2cf29fd7aed83ffc95fd88
[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>
drivers/mtd/devices/doc2000.c
drivers/mtd/devices/doc2001.c
drivers/mtd/devices/doc2001plus.c
drivers/mtd/mtdchar.c
drivers/mtd/mtdconcat.c
drivers/mtd/mtdpart.c
drivers/mtd/nand/nand_base.c
drivers/mtd/onenand/onenand_base.c
include/linux/mtd/mtd.h
include/mtd/mtd-abi.h