Commit d43511d0 authored by Pavel Machek's avatar Pavel Machek Committed by Miquel Raynal
Browse files

mtd: rawnand: oxnas: cleanup/simplify code

parent 75b049bb
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -144,8 +144,7 @@ static int oxnas_nand_probe(struct platform_device *pdev)
		if (err)
			goto err_cleanup_nand;

		oxnas->chips[oxnas->nchips] = chip;
		++oxnas->nchips;
		oxnas->chips[oxnas->nchips++] = chip;
	}

	/* Exit if no chips found */