diff options
author | Peter Stuge <peter@stuge.se> | 2009-01-26 15:19:43 +0000 |
---|---|---|
committer | Peter Stuge <peter@stuge.se> | 2009-01-26 15:19:43 +0000 |
commit | 1b2b34f2112bfb0638ef47e3c1f06257047cffe3 (patch) | |
tree | 8e75059efc1c5bb960c16cb39a4f3600d892ac34 /m29f002.c | |
parent | 2b92075b5284f4200287726f57c4fa1d80b077fa (diff) | |
download | flashrom-1b2b34f2112bfb0638ef47e3c1f06257047cffe3.zip flashrom-1b2b34f2112bfb0638ef47e3c1f06257047cffe3.tar.gz |
Fix one dead increment and one dead assignment as found by clang
Thanks Patrick!
Corresponding to flashrom svn r410 and coreboot v2 svn r3918.
Signed-off-by: Peter Stuge <peter@stuge.se>
Acked-by: Peter Stuge <peter@stuge.se>
Diffstat (limited to 'm29f002.c')
-rw-r--r-- | m29f002.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -77,7 +77,7 @@ int write_m29f002t(struct flashchip *flash, uint8_t *buf) { do_block(bios, buf, i++, 0x30000, 32*1024); do_block(bios, buf, i++, 0x38000, 8*1024); do_block(bios, buf, i++, 0x3a000, 8*1024); - do_block(bios, buf, i++, 0x3c000, 16*1024); + do_block(bios, buf, i, 0x3c000, 16*1024); printf("\n"); return 0; |