diff options
author | Jacob Garber <jgarber1@ualberta.ca> | 2019-06-24 18:32:03 -0600 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2019-06-28 19:36:11 +0000 |
commit | c22ebc9339bf75ab55bbb885ede0c63314f46014 (patch) | |
tree | 7a5e37bce99ebc5140ed34dabdce85621ce6f903 /payloads | |
parent | 464f4d6ee240e5afd44317d9b7bc4a1228c04899 (diff) | |
download | coreboot-c22ebc9339bf75ab55bbb885ede0c63314f46014.tar.xz |
sb/amd/sb{700,800}: Clean up index manipulations
It looks like in days gone by that these switches were once parts of
loops that incremented 'index' as they went along. However, we don't
have any loops anymore, so remove the needless increments and streamline
the rest of the assignments.
Change-Id: Iaabee984333c273af7810f9c11ed26bbb2a995d1
Signed-off-by: Jacob Garber <jgarber1@ualberta.ca>
Found-by: scan-build 8.0.0
Reviewed-on: https://review.coreboot.org/c/coreboot/+/33774
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Diffstat (limited to 'payloads')
0 files changed, 0 insertions, 0 deletions