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>
This commit is contained in:
parent
138db0601d
commit
b53a55930e
|
@ -286,7 +286,6 @@ void fsp_display_fvi_version_hob(void)
|
||||||
{
|
{
|
||||||
const uint8_t *hob_uuid;
|
const uint8_t *hob_uuid;
|
||||||
const struct hob_header *hob = fsp_get_hob_list();
|
const struct hob_header *hob = fsp_get_hob_list();
|
||||||
size_t size;
|
|
||||||
|
|
||||||
if (!hob)
|
if (!hob)
|
||||||
return;
|
return;
|
||||||
|
@ -300,7 +299,6 @@ void fsp_display_fvi_version_hob(void)
|
||||||
hob_uuid = hob_header_to_struct(hob);
|
hob_uuid = hob_header_to_struct(hob);
|
||||||
|
|
||||||
if (fsp_guid_compare(hob_uuid, uuid_fv_info)) {
|
if (fsp_guid_compare(hob_uuid, uuid_fv_info)) {
|
||||||
size = hob->length - (HOB_HEADER_LEN + 16);
|
|
||||||
display_fsp_version_info_hob(hob);
|
display_fsp_version_info_hob(hob);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue