soc/intel/fsp_baytrail/romstage: Remove variable set but not used

Change-Id: Ic04cb7c51862bea4d01f853ee2c88cc03c414e35
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/32899
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Elyes HAOUAS 2019-05-20 19:04:09 +02:00 committed by Patrick Georgi
parent 83339ab3eb
commit 0e0c7a3dd8
1 changed files with 1 additions and 2 deletions

View File

@ -218,7 +218,6 @@ void main(FSP_INFO_HEADER *fsp_info_header)
*/ */
void romstage_main_continue(EFI_STATUS status, void *hob_list_ptr) void romstage_main_continue(EFI_STATUS status, void *hob_list_ptr)
{ {
int cbmem_was_initted;
void *cbmem_hob_ptr; void *cbmem_hob_ptr;
uint32_t prev_sleep_state; uint32_t prev_sleep_state;
@ -245,7 +244,7 @@ void romstage_main_continue(EFI_STATUS status, void *hob_list_ptr)
late_mainboard_romstage_entry(); late_mainboard_romstage_entry();
post_code(0x4c); post_code(0x4c);
cbmem_was_initted = !cbmem_recovery(prev_sleep_state == ACPI_S3); cbmem_recovery(prev_sleep_state == ACPI_S3);
/* Save the HOB pointer in CBMEM to be used in ramstage*/ /* Save the HOB pointer in CBMEM to be used in ramstage*/
cbmem_hob_ptr = cbmem_add(CBMEM_ID_HOB_POINTER, sizeof(*hob_list_ptr)); cbmem_hob_ptr = cbmem_add(CBMEM_ID_HOB_POINTER, sizeof(*hob_list_ptr));