From e6d6e7dd12b08e0138bba2ff153c480f3553eedb Mon Sep 17 00:00:00 2001 From: Arthur Heymans Date: Tue, 10 May 2022 18:13:56 +0200 Subject: [PATCH] soc/intel/block/crashlog: Remove unused variable Change-Id: I2f89d11c163f56163d5c361a3edad14418bf9fa7 Signed-off-by: Arthur Heymans Reviewed-on: https://review.coreboot.org/c/coreboot/+/64237 Tested-by: build bot (Jenkins) Reviewed-by: Angel Pons --- src/soc/intel/common/block/crashlog/crashlog.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/soc/intel/common/block/crashlog/crashlog.c b/src/soc/intel/common/block/crashlog/crashlog.c index 4081182a89..239c72c058 100644 --- a/src/soc/intel/common/block/crashlog/crashlog.c +++ b/src/soc/intel/common/block/crashlog/crashlog.c @@ -411,11 +411,8 @@ void cl_get_cpu_sram_data(void) tmp_bar_addr = cl_get_cpu_bar_addr(); dest = (u32 *)(uintptr_t) cpu_crashlog_cbmem_addr; bool pmc_sram = false; - cpu_crashlog_buffer_info_t buff_info; for (int i = 0 ; i < cpu_cl_disc_tab.header.fields.count ; i++) { - buff_info = cpu_cl_disc_tab.buffers[i]; - if (cl_copy_data_from_sram(tmp_bar_addr, cpu_cl_disc_tab.buffers[i].fields.offset, cpu_cl_disc_tab.buffers[i].fields.size,