]> git.karo-electronics.de Git - linux-beck.git/commit
mtd: kill the ecclayout->oobavail field
authorBoris BREZILLON <boris.brezillon@free-electrons.com>
Mon, 7 Mar 2016 09:46:51 +0000 (10:46 +0100)
committerBrian Norris <computersforpeace@gmail.com>
Tue, 8 Mar 2016 00:23:09 +0000 (16:23 -0800)
commitf5b8aa78ef086248145363bf1ffe5ca4348b6a98
treee1cbe852ebab047c0acf6af3c7498b11d37d2786
parent9ebfdf5b18493f338237ef9861a555c2f79b0c17
mtd: kill the ecclayout->oobavail field

ecclayout->oobavail is just redundant with the mtd->oobavail field.
Moreover, it prevents static const definition of ecc layouts since the
NAND framework is calculating this value based on the ecclayout->oobfree
field.

Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/devices/docg3.c
drivers/mtd/mtdswap.c
drivers/mtd/nand/brcmnand/brcmnand.c
drivers/mtd/nand/docg4.c
drivers/mtd/nand/hisi504_nand.c
drivers/mtd/nand/nand_base.c
drivers/mtd/onenand/onenand_base.c
drivers/mtd/tests/oobtest.c
drivers/staging/mt29f_spinand/mt29f_spinand.c
fs/jffs2/wbuf.c
include/linux/mtd/mtd.h