Light has uploaded this change for review.

View Change

board_enable.c: Fix dead assignment

In function board_asus_p3b_f there were two consecutive lines which
modified the value of variable b -- b=INB(0x80);b=INB(smbba);. Since the
value of b is not used after first assignment I have removed that
assignment.

Change-Id: I7458b416a69fd5e2aa300ca49d1352b6074ad0bc
Signed-off-by: Aarya Chaumal <aarya.chaumal@gmail.com>
---
M board_enable.c
1 file changed, 1 insertion(+), 1 deletion(-)

git pull ssh://review.coreboot.org:29418/flashrom refs/changes/61/62761/1
diff --git a/board_enable.c b/board_enable.c
index 0ac522e..c00caf3 100644
--- a/board_enable.c
+++ b/board_enable.c
@@ -910,7 +910,7 @@
/* Wait until SMBus transaction is complete. */
b = 0x1;
while (b & 0x01) {
- b = INB(0x80);
+ INB(0x80);
b = INB(smbba);
}


To view, visit change 62761. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: I7458b416a69fd5e2aa300ca49d1352b6074ad0bc
Gerrit-Change-Number: 62761
Gerrit-PatchSet: 1
Gerrit-Owner: Light <aarya.chaumal@gmail.com>
Gerrit-MessageType: newchange