diff options
author | Boris BREZILLON <boris.brezillon@free-electrons.com> | 2015-12-08 01:26:01 +0300 |
---|---|---|
committer | Brian Norris <computersforpeace@gmail.com> | 2016-01-26 21:27:36 +0300 |
commit | 02db97a9de1c80bd5551ba46d901cb4d912f78f2 (patch) | |
tree | ad5c9d7cdc24697fee70747f3f7008eb85ccb97f /drivers/mtd | |
parent | d5e83ea7dc510fe8e7b4a54e5a93f3dd760f6d7e (diff) | |
download | linux-02db97a9de1c80bd5551ba46d901cb4d912f78f2.tar.xz |
mtd: nand: kill unused ->ecclayout field in platform_nand_chip struct
This field is not set in any board file and can thus be dropped.
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Diffstat (limited to 'drivers/mtd')
-rw-r--r-- | drivers/mtd/nand/plat_nand.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/mtd/nand/plat_nand.c b/drivers/mtd/nand/plat_nand.c index a0e26dea1424..e4e50da30444 100644 --- a/drivers/mtd/nand/plat_nand.c +++ b/drivers/mtd/nand/plat_nand.c @@ -73,7 +73,6 @@ static int plat_nand_probe(struct platform_device *pdev) data->chip.bbt_options |= pdata->chip.bbt_options; data->chip.ecc.hwctl = pdata->ctrl.hwcontrol; - data->chip.ecc.layout = pdata->chip.ecclayout; data->chip.ecc.mode = NAND_ECC_SOFT; platform_set_drvdata(pdev, data); |