summaryrefslogtreecommitdiffstats
path: root/OvmfPkg/PlatformPei/IntelTdx.c
diff options
context:
space:
mode:
Diffstat (limited to 'OvmfPkg/PlatformPei/IntelTdx.c')
-rw-r--r--OvmfPkg/PlatformPei/IntelTdx.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/OvmfPkg/PlatformPei/IntelTdx.c b/OvmfPkg/PlatformPei/IntelTdx.c
index 3d625cabd8..1cb6729e56 100644
--- a/OvmfPkg/PlatformPei/IntelTdx.c
+++ b/OvmfPkg/PlatformPei/IntelTdx.c
@@ -48,7 +48,5 @@ IntelTdxInitialize (
PcdStatus = PcdSet64S (PcdTdxSharedBitMask, TdSharedPageMask ());
ASSERT_RETURN_ERROR (PcdStatus);
- PcdStatus = PcdSetBoolS (PcdSetNxForStack, TRUE);
- ASSERT_RETURN_ERROR (PcdStatus);
#endif
}