From b53a55930e93f87ca4039857dd3a030c7bde9f8a Mon Sep 17 00:00:00 2001 From: Arthur Heymans Date: Fri, 18 Feb 2022 13:09:17 +0100 Subject: drivers/intel/fsp2_0/hob: Remove unused variable Change-Id: Ie9f4562be9b019d8dd65d4e9040fefbb6834fa03 Signed-off-by: Arthur Heymans Reviewed-on: https://review.coreboot.org/c/coreboot/+/62177 Tested-by: build bot (Jenkins) Reviewed-by: Elyes Haouas --- src/drivers/intel/fsp2_0/hand_off_block.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/drivers/intel/fsp2_0') 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); } } -- cgit v1.2.3