commit | b53a55930e93f87ca4039857dd3a030c7bde9f8a | [log] [tgz] |
---|---|---|
author | Arthur Heymans <arthur@aheymans.xyz> | Fri Feb 18 13:09:17 2022 +0100 |
committer | Felix Held <felix-coreboot@felixheld.de> | Mon Feb 21 15:28:06 2022 +0000 |
tree | 615b50178d22b99bd065fa9996cc18c827b9d322 | |
parent | 138db0601d4e023a6b1fb8cbf67f9b7f10859288 [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>
diff --git a/src/drivers/intel/fsp2_0/hand_off_block.c b/src/drivers/intel/fsp2_0/hand_off_block.c index fd8316e..c9c99f9 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 @@ { const uint8_t *hob_uuid; const struct hob_header *hob = fsp_get_hob_list(); - size_t size; if (!hob) return; @@ -300,7 +299,6 @@ 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); } }