Commit b219ba32 authored by Peter Stuge's avatar Peter Stuge
Browse files

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: default avatarPeter Stuge <peter@stuge.se>
Acked-by: default avatarPeter Stuge <peter@stuge.se>
parent af8ffac0
......@@ -289,7 +289,6 @@ int program_opcodes(OPCODES * op)
uint32_t opmenu[2];
/* Program Prefix Opcodes */
preop = 0;
/* 0:7 Prefix Opcode 1 */
preop = (op->preop[0]);
/* 8:16 Prefix Opcode 2 */
......
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment