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 | b219ba32fd201ac98c45b37eeeb90efb7bb796d1 (patch) | |
tree | 8e75059efc1c5bb960c16cb39a4f3600d892ac34 /m29f002.c | |
parent | af8ffac0a7f2fa12e18869b08c17caabe9ced45a (diff) | |
download | flashrom-b219ba32fd201ac98c45b37eeeb90efb7bb796d1.tar.gz flashrom-b219ba32fd201ac98c45b37eeeb90efb7bb796d1.tar.bz2 flashrom-b219ba32fd201ac98c45b37eeeb90efb7bb796d1.zip |
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; |