HAOUAS Elyes has uploaded this change for review.

View Change

atavia.c: Remove unneeded 'else'

'else' is not needed after a 'break' or 'return'.

Change-Id: Ib43a8c186c34c85f964df648564fa7f5aef10412
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
---
M atavia.c
1 file changed, 2 insertions(+), 3 deletions(-)

git pull ssh://review.coreboot.org:29418/flashrom refs/changes/43/33343/1
diff --git a/atavia.c b/atavia.c
index 80bba58..3b4a5bd 100644
--- a/atavia.c
+++ b/atavia.c
@@ -102,10 +102,9 @@
if (((access & BROM_TRIGGER) == 0) && (status & BROM_ERROR_STATUS) == 0) {
ready = true;
break;
- } else {
- programmer_delay(1);
- continue;
}
+ programmer_delay(1);
+ continue;
}

msg_pdbg2("\n%s: %s after %d tries (access=0x%02x, status=0x%02x)\n",

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

Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: Ib43a8c186c34c85f964df648564fa7f5aef10412
Gerrit-Change-Number: 33343
Gerrit-PatchSet: 1
Gerrit-Owner: HAOUAS Elyes <ehaouas@noos.fr>
Gerrit-MessageType: newchange