diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2017-03-21 13:04:01 +0300 |
---|---|---|
committer | Boris Brezillon <boris.brezillon@free-electrons.com> | 2017-03-23 13:11:10 +0300 |
commit | c0d218c81621d847472e01f227eab3e4f0902ce2 (patch) | |
tree | 6d788f687b7d78c3578cb12d2e6c8c00ff6a9d10 /drivers/mtd/nand/fsmc_nand.c | |
parent | ede29a020ec3b493748c5eb780aa9d5977f72db8 (diff) | |
download | linux-c0d218c81621d847472e01f227eab3e4f0902ce2.tar.xz |
mtd: nand: fsmc: remove duplicate nand_set_flash_node()
It is already done a few lines before.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Diffstat (limited to 'drivers/mtd/nand/fsmc_nand.c')
-rw-r--r-- | drivers/mtd/nand/fsmc_nand.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/mtd/nand/fsmc_nand.c b/drivers/mtd/nand/fsmc_nand.c index abfaa1d6e22e..63055d7dcfef 100644 --- a/drivers/mtd/nand/fsmc_nand.c +++ b/drivers/mtd/nand/fsmc_nand.c @@ -947,7 +947,6 @@ static int __init fsmc_nand_probe(struct platform_device *pdev) nand->ecc.size = 512; nand->options = pdata->options; nand->badblockbits = 7; - nand_set_flash_node(nand, np); switch (host->mode) { case USE_DMA_ACCESS: |