mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-27 03:47:43 +00:00
mtd: nand: vf610: remove useless mtd->ecclayout assignment
The NAND core layer is already taking care of ecclayout propagation. Remove this useless assignment. Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com> Acked-by: Stefan Agner <stefan@agner.ch> Signed-off-by: Brian Norris <computersforpeace@gmail.com>
This commit is contained in:
parent
f771749e3a
commit
420b4629b5
@ -795,8 +795,6 @@ static int vf610_nfc_probe(struct platform_device *pdev)
|
|||||||
goto error;
|
goto error;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* propagate ecc.layout to mtd_info */
|
|
||||||
mtd->ecclayout = chip->ecc.layout;
|
|
||||||
chip->ecc.read_page = vf610_nfc_read_page;
|
chip->ecc.read_page = vf610_nfc_read_page;
|
||||||
chip->ecc.write_page = vf610_nfc_write_page;
|
chip->ecc.write_page = vf610_nfc_write_page;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user