summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorArthur Heymans <arthur@aheymans.xyz>2022-05-10 18:13:56 +0200
committerArthur Heymans <arthur@aheymans.xyz>2022-05-13 11:00:44 +0000
commite6d6e7dd12b08e0138bba2ff153c480f3553eedb (patch)
treeef817231aa30fa22d82368b1bf0d987a923720e0 /src
parent55f116ac0a93c43d2ac29d836320a1133a136f12 (diff)
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>
Diffstat (limited to 'src')
-rw-r--r--src/soc/intel/common/block/crashlog/crashlog.c3
1 files changed, 0 insertions, 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,