aboutsummaryrefslogtreecommitdiff
path: root/src/flash/nand/davinci.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/flash/nand/davinci.c')
-rw-r--r--src/flash/nand/davinci.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/flash/nand/davinci.c b/src/flash/nand/davinci.c
index 84f8e34..1aa7ffc 100644
--- a/src/flash/nand/davinci.c
+++ b/src/flash/nand/davinci.c
@@ -605,8 +605,6 @@ static int davinci_write_page_ecc4infix(struct nand_device *nand, uint32_t page,
/* write this "out-of-band" data -- infix */
davinci_write_block_data(nand, oob, 16);
oob += 16;
- oob_size -= 16;
-
} while (data_size);
/* the last data and OOB writes included the spare area */