summaryrefslogtreecommitdiff
path: root/src/soc
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc')
-rw-r--r--src/soc/intel/common/block/pcr/pcr.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/soc/intel/common/block/pcr/pcr.c b/src/soc/intel/common/block/pcr/pcr.c
index 4a35a03ff1..f3971c238f 100644
--- a/src/soc/intel/common/block/pcr/pcr.c
+++ b/src/soc/intel/common/block/pcr/pcr.c
@@ -394,10 +394,9 @@ int pcr_execute_sideband_msg(struct pcr_sbi_msg *msg, uint32_t *data,
break;
}
return 0;
- } else {
- printk(BIOS_ERR, "SBI Failure: Transaction Status = %x\n",
- *response);
- return -1;
}
+ printk(BIOS_ERR, "SBI Failure: Transaction Status = %x\n",
+ *response);
+ return -1;
}
#endif