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>
This commit is contained in:
Arthur Heymans 2022-05-10 18:13:56 +02:00
parent 55f116ac0a
commit e6d6e7dd12
1 changed files with 0 additions and 3 deletions

View File

@ -411,11 +411,8 @@ void cl_get_cpu_sram_data(void)
tmp_bar_addr = cl_get_cpu_bar_addr(); tmp_bar_addr = cl_get_cpu_bar_addr();
dest = (u32 *)(uintptr_t) cpu_crashlog_cbmem_addr; dest = (u32 *)(uintptr_t) cpu_crashlog_cbmem_addr;
bool pmc_sram = false; bool pmc_sram = false;
cpu_crashlog_buffer_info_t buff_info;
for (int i = 0 ; i < cpu_cl_disc_tab.header.fields.count ; i++) { 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, if (cl_copy_data_from_sram(tmp_bar_addr,
cpu_cl_disc_tab.buffers[i].fields.offset, cpu_cl_disc_tab.buffers[i].fields.offset,
cpu_cl_disc_tab.buffers[i].fields.size, cpu_cl_disc_tab.buffers[i].fields.size,