omap: nand remove unnecessary condition
Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
parent
7911dbcaf6
commit
0d8d93d7c6
|
@ -548,10 +548,9 @@ static int gpmc_nand_probe(struct device_d *pdev)
|
|||
goto out_release_mem;
|
||||
}
|
||||
|
||||
if (pdata->plat_options & NAND_HWECC_ENABLE)
|
||||
if (pdata->plat_options & NAND_HWECC_ENABLE) {
|
||||
nand->ecc.layout = layout;
|
||||
|
||||
if (pdata->plat_options & NAND_HWECC_ENABLE) {
|
||||
/* Program how many columns we expect+
|
||||
* enable the cs we want and enable the engine
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue