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:
parent
ede29a020e
commit
c0d218c816
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue