diff options
-rw-r--r-- | src/soc/amd/common/block/cpu/smm/finalize.c | 4 |
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 2df55247cf00..2795100d861d 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"); } |