[coreboot-gerrit] Change in ...coreboot[master]: lib/selfboot.c: Remove not used variable
HAOUAS Elyes (Code Review)
gerrit at coreboot.org
Thu Nov 29 20:20:29 CET 2018
HAOUAS Elyes has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/29938
Change subject: lib/selfboot.c: Remove not used variable
......................................................................
lib/selfboot.c: Remove not used variable
Change-Id: Iaba1ac1967fddae843cee61ef671d4f66648b078
Signed-off-by: Elyes HAOUAS <ehaouas at noos.fr>
---
M src/lib/selfboot.c
1 file changed, 2 insertions(+), 2 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/38/29938/1
diff --git a/src/lib/selfboot.c b/src/lib/selfboot.c
index 9c52cd6..f1c2ba4 100644
--- a/src/lib/selfboot.c
+++ b/src/lib/selfboot.c
@@ -144,9 +144,9 @@
{
uint8_t *dest;
size_t memsz;
- struct cbfs_payload_segment *first_segment, *seg, segment;
+ struct cbfs_payload_segment *seg, segment;
- for (first_segment = seg = cbfssegs;; ++seg) {
+ for (seg = cbfssegs;; ++seg) {
printk(BIOS_DEBUG, "Checking segment from ROM address 0x%p\n", seg);
cbfs_decode_payload_segment(&segment, seg);
dest = (uint8_t *)(uintptr_t)segment.load_addr;
--
To view, visit https://review.coreboot.org/c/coreboot/+/29938
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Iaba1ac1967fddae843cee61ef671d4f66648b078
Gerrit-Change-Number: 29938
Gerrit-PatchSet: 1
Gerrit-Owner: HAOUAS Elyes <ehaouas at noos.fr>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20181129/320330a0/attachment.html>
More information about the coreboot-gerrit
mailing list