]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Core/Dxe/Misc/MemoryAttributesTable.c
MdeModulePkg: Fix Memory Attributes table type issue
[mirror_edk2.git] / MdeModulePkg / Core / Dxe / Misc / MemoryAttributesTable.c
index c84146a8e8edec4f1296829823e6bd47f26c2f41..416ed3dca846b481014e802e62c7424b4dd251d4 100644 (file)
@@ -72,8 +72,6 @@ CoreGetMemoryMapPropertiesTable (
 \r
 extern EFI_PROPERTIES_TABLE  mPropertiesTable;\r
 \r
-BOOLEAN         mIsConstructingMemoryAttributesTable = FALSE;\r
-\r
 /**\r
   Install MemoryAttributesTable.\r
 \r
@@ -105,8 +103,6 @@ InstallMemoryAttributesTable (
     return ;\r
   }\r
 \r
-  mIsConstructingMemoryAttributesTable = TRUE;\r
-\r
   MemoryMapSize = 0;\r
   MemoryMap = NULL;\r
   Status = CoreGetMemoryMapPropertiesTable (\r
@@ -181,8 +177,6 @@ InstallMemoryAttributesTable (
 \r
   Status = gBS->InstallConfigurationTable (&gEfiMemoryAttributesTableGuid, MemoryAttributesTable);\r
   ASSERT_EFI_ERROR (Status);\r
-\r
-  mIsConstructingMemoryAttributesTable = FALSE;\r
 }\r
 \r
 /**\r