HAOUAS Elyes has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/41697 )
Change subject: drivers/intel/fsp2_0/hand_off_block: Remove dead increment ......................................................................
drivers/intel/fsp2_0/hand_off_block: Remove dead increment
Value stored to 'size' is never read.
Change-Id: If3e96ac90f06966ee408964e0748730bc237ec19 Signed-off-by: Elyes HAOUAS ehaouas@noos.fr --- M src/drivers/intel/fsp2_0/hand_off_block.c 1 file changed, 0 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/97/41697/1
diff --git a/src/drivers/intel/fsp2_0/hand_off_block.c b/src/drivers/intel/fsp2_0/hand_off_block.c index fdc92a7..380ac99 100644 --- a/src/drivers/intel/fsp2_0/hand_off_block.c +++ b/src/drivers/intel/fsp2_0/hand_off_block.c @@ -219,7 +219,6 @@ fvi = (void *)&fvih[1]; str_ptr = (char *)((uintptr_t)fvi + (fvih->Count * sizeof (FIRMWARE_VERSION_INFO))); - size -= sizeof(SMBIOS_STRUCTURE);
for (index = 0; index < fvih->Count; index++) { cnt = strlen(str_ptr);