summaryrefslogtreecommitdiffstats
path: root/ichspi.c
diff options
context:
space:
mode:
authorPeter Stuge <peter@stuge.se>2009-01-26 15:19:43 +0000
committerPeter Stuge <peter@stuge.se>2009-01-26 15:19:43 +0000
commitb219ba32fd201ac98c45b37eeeb90efb7bb796d1 (patch)
tree8e75059efc1c5bb960c16cb39a4f3600d892ac34 /ichspi.c
parentaf8ffac0a7f2fa12e18869b08c17caabe9ced45a (diff)
downloadflashrom-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 'ichspi.c')
-rw-r--r--ichspi.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/ichspi.c b/ichspi.c
index bad2e2781..5de654bf7 100644
--- a/ichspi.c
+++ b/ichspi.c
@@ -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 */