mtd: nand-mxs: Make locally used variable static
fake_ecc_layout is only used in the mxs nand driver, so make it static.
Also it's not necessary to zero the structure.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent deb3c57 commit 61b0b210a81fef51eeca861b5886837beb2e7cd6
@Sascha Hauer Sascha Hauer authored on 18 Jul 2019
Showing 1 changed file
View
drivers/mtd/nand/nand_mxs.c