soc/intel/block/crashlog: Remove unused variable
Change-Id: I2f89d11c163f56163d5c361a3edad14418bf9fa7
Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/64237
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
diff --git a/src/soc/intel/common/block/crashlog/crashlog.c b/src/soc/intel/common/block/crashlog/crashlog.c
index 4081182..239c72c 100644
--- a/src/soc/intel/common/block/crashlog/crashlog.c
+++ b/src/soc/intel/common/block/crashlog/crashlog.c
@@ -411,11 +411,8 @@
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,