Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 420b4629 authored by Boris Brezillon's avatar Boris Brezillon Committed by Brian Norris
Browse files

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: default avatarBoris Brezillon <boris.brezillon@free-electrons.com>
Acked-by: default avatarStefan Agner <stefan@agner.ch>
Signed-off-by: default avatarBrian Norris <computersforpeace@gmail.com>
parent f771749e
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -795,8 +795,6 @@ static int vf610_nfc_probe(struct platform_device *pdev)
			goto error;
		}

		/* propagate ecc.layout to mtd_info */
		mtd->ecclayout = chip->ecc.layout;
		chip->ecc.read_page = vf610_nfc_read_page;
		chip->ecc.write_page = vf610_nfc_write_page;