summaryrefslogtreecommitdiff
path: root/src/security/intel/txt
diff options
context:
space:
mode:
Diffstat (limited to 'src/security/intel/txt')
-rw-r--r--src/security/intel/txt/common.c15
1 files changed, 7 insertions, 8 deletions
diff --git a/src/security/intel/txt/common.c b/src/security/intel/txt/common.c
index ea348d2c43..b88062d42b 100644
--- a/src/security/intel/txt/common.c
+++ b/src/security/intel/txt/common.c
@@ -489,15 +489,14 @@ bool intel_txt_prepare_txt_env(void)
failure = true;
}
- if (!getsec_parameter(NULL, NULL, NULL, NULL, NULL, &txt_feature_flags)) {
+ if (!getsec_parameter(NULL, NULL, NULL, NULL, NULL, &txt_feature_flags))
return true;
- } else {
- printk(BIOS_DEBUG, "TEE-TXT: Machine Check Register: ");
- if (txt_feature_flags & GETSEC_PARAMS_TXT_EXT_MACHINE_CHECK)
- printk(BIOS_DEBUG, "preserved\n");
- else
- printk(BIOS_DEBUG, "must be clear\n");
- }
+
+ printk(BIOS_DEBUG, "TEE-TXT: Machine Check Register: ");
+ if (txt_feature_flags & GETSEC_PARAMS_TXT_EXT_MACHINE_CHECK)
+ printk(BIOS_DEBUG, "preserved\n");
+ else
+ printk(BIOS_DEBUG, "must be clear\n");
if (!(txt_feature_flags & GETSEC_PARAMS_TXT_EXT_MACHINE_CHECK)) {
/*