diff options
author | Elyes HAOUAS <ehaouas@noos.fr> | 2019-05-20 18:59:28 +0200 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2019-05-23 08:58:15 +0000 |
commit | 83339ab3ebcf1e0b8e4cbcd44c13d93049e161b6 (patch) | |
tree | ade9bf3fa4c41c6820c39c5d42e24d3234eb145d /src | |
parent | f00d37342c7fcabd9760ac69976227752e5c96f1 (diff) |
soc/intel/fsp_broadwell_de/romstage: Remove variable set but not used
Change-Id: I3e304b9b19978c4100ef3486088d809c2a7fe1d7
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/32898
Reviewed-by: Patrick Rudolph <siro@das-labor.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src')
-rw-r--r-- | src/soc/intel/fsp_broadwell_de/romstage/romstage.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/soc/intel/fsp_broadwell_de/romstage/romstage.c b/src/soc/intel/fsp_broadwell_de/romstage/romstage.c index 121cb25d61..38cd9476c5 100644 --- a/src/soc/intel/fsp_broadwell_de/romstage/romstage.c +++ b/src/soc/intel/fsp_broadwell_de/romstage/romstage.c @@ -94,7 +94,6 @@ void *asmlinkage main(FSP_INFO_HEADER *fsp_info_header) */ void romstage_main_continue(EFI_STATUS status, void *hob_list_ptr) { - int cbmem_was_initted; void *cbmem_hob_ptr; post_code(0x4a); @@ -113,7 +112,7 @@ void romstage_main_continue(EFI_STATUS status, void *hob_list_ptr) late_mainboard_romstage_entry(); post_code(0x4d); - cbmem_was_initted = !cbmem_recovery(0); + cbmem_recovery(0); /* Save the HOB pointer in CBMEM to be used in ramstage*/ cbmem_hob_ptr = cbmem_add(CBMEM_ID_HOB_POINTER, sizeof(*hob_list_ptr)); |