summaryrefslogtreecommitdiff
path: root/src/drivers/intel/fsp2_0
diff options
context:
space:
mode:
authorArthur Heymans <arthur@aheymans.xyz>2022-02-18 13:09:17 +0100
committerFelix Held <felix-coreboot@felixheld.de>2022-02-21 15:28:06 +0000
commitb53a55930e93f87ca4039857dd3a030c7bde9f8a (patch)
tree615b50178d22b99bd065fa9996cc18c827b9d322 /src/drivers/intel/fsp2_0
parent138db0601d4e023a6b1fb8cbf67f9b7f10859288 (diff)
drivers/intel/fsp2_0/hob: Remove unused variable
Change-Id: Ie9f4562be9b019d8dd65d4e9040fefbb6834fa03 Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-on: https://review.coreboot.org/c/coreboot/+/62177 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Elyes Haouas <ehaouas@noos.fr>
Diffstat (limited to 'src/drivers/intel/fsp2_0')
-rw-r--r--src/drivers/intel/fsp2_0/hand_off_block.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/drivers/intel/fsp2_0/hand_off_block.c b/src/drivers/intel/fsp2_0/hand_off_block.c
index fd8316e01d..c9c99f9bc1 100644
--- a/src/drivers/intel/fsp2_0/hand_off_block.c
+++ b/src/drivers/intel/fsp2_0/hand_off_block.c
@@ -286,7 +286,6 @@ void fsp_display_fvi_version_hob(void)
{
const uint8_t *hob_uuid;
const struct hob_header *hob = fsp_get_hob_list();
- size_t size;
if (!hob)
return;
@@ -300,7 +299,6 @@ void fsp_display_fvi_version_hob(void)
hob_uuid = hob_header_to_struct(hob);
if (fsp_guid_compare(hob_uuid, uuid_fv_info)) {
- size = hob->length - (HOB_HEADER_LEN + 16);
display_fsp_version_info_hob(hob);
}
}