From: Thomas Petazzoni Date: Tue, 21 Mar 2017 10:04:01 +0000 (+0100) Subject: mtd: nand: fsmc: remove duplicate nand_set_flash_node() X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=c0d218c81621d847472e01f227eab3e4f0902ce2;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git mtd: nand: fsmc: remove duplicate nand_set_flash_node() It is already done a few lines before. Signed-off-by: Thomas Petazzoni Reviewed-by: Linus Walleij Signed-off-by: Boris Brezillon --- 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: