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>
This commit is contained in:
Thomas Petazzoni 2017-03-21 11:04:01 +01:00 committed by Boris Brezillon
parent ede29a020e
commit c0d218c816
1 changed files with 0 additions and 1 deletions

View File

@ -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: