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@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;