summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/soc/amd/common/block/cpu/smm/finalize.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/soc/amd/common/block/cpu/smm/finalize.c b/src/soc/amd/common/block/cpu/smm/finalize.c
index 2df55247cf..2795100d86 100644
--- a/src/soc/amd/common/block/cpu/smm/finalize.c
+++ b/src/soc/amd/common/block/cpu/smm/finalize.c
@@ -29,11 +29,9 @@ static void per_core_finalize(void *unused)
static void finalize_cores(void)
{
- int r;
printk(BIOS_SPEW, "Lock SMM configuration\n");
- r = mp_run_on_all_cpus(per_core_finalize, NULL);
- if (r)
+ if (mp_run_on_all_cpus(per_core_finalize, NULL))
printk(BIOS_WARNING, "Failed to finalize all cores\n");
}