diff options
author | Marek Vasut <marek.vasut+renesas@mailbox.org> | 2024-07-20 14:40:44 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2024-07-22 10:53:05 -0600 |
commit | a7dd2d1d6eafc229a6974a4334ea7c3a58026c5c (patch) | |
tree | ee12e407b714e72b477c820a4742f1bfd8c2a12b /drivers/mtd/nand/raw/nand_spl_simple.c | |
parent | 8582ca9c1d8b88f2398c1aa7209669f33f56563a (diff) |
drivers: mtd: Remove duplicate newlines
Drop all duplicate newlines. No functional change.
Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
Diffstat (limited to 'drivers/mtd/nand/raw/nand_spl_simple.c')
-rw-r--r-- | drivers/mtd/nand/raw/nand_spl_simple.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/mtd/nand/raw/nand_spl_simple.c b/drivers/mtd/nand/raw/nand_spl_simple.c index c0956ab0e49..a4f6c43c1a0 100644 --- a/drivers/mtd/nand/raw/nand_spl_simple.c +++ b/drivers/mtd/nand/raw/nand_spl_simple.c @@ -19,7 +19,6 @@ static struct nand_chip nand_chip; CFG_SYS_NAND_ECCSIZE) #define ECCTOTAL (ECCSTEPS * CFG_SYS_NAND_ECCBYTES) - #if (CONFIG_SYS_NAND_PAGE_SIZE <= 512) /* * NAND command for small page NAND devices (512) @@ -153,7 +152,6 @@ static int nand_read_page(int block, int page, uchar *dst) for (i = 0; i < ECCTOTAL; i++) ecc_code[i] = oob_data[nand_ecc_pos[i]]; - for (i = 0; eccsteps; eccsteps--, i += eccbytes, p += eccsize) { this->ecc.hwctl(mtd, NAND_ECC_READ); this->read_buf(mtd, p, eccsize); |