summaryrefslogtreecommitdiffstats
path: root/EdkModulePkg
diff options
context:
space:
mode:
authorxgu3 <xgu3@6f19259b-4bc3-4df7-8a09-765794883524>2006-08-10 17:04:33 +0000
committerxgu3 <xgu3@6f19259b-4bc3-4df7-8a09-765794883524>2006-08-10 17:04:33 +0000
commitcfe26d0ed80630ae2e7a23806b44f4b5dfe17031 (patch)
treef3b8391181b847166c5912d44e877d4b993259cb /EdkModulePkg
parent4224ac208726ee643afc2d3712b6bf4b86184fb4 (diff)
downloadedk2-cfe26d0ed80630ae2e7a23806b44f4b5dfe17031.tar.gz
edk2-cfe26d0ed80630ae2e7a23806b44f4b5dfe17031.tar.bz2
edk2-cfe26d0ed80630ae2e7a23806b44f4b5dfe17031.zip
Change Variable to use PCD
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1238 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'EdkModulePkg')
-rw-r--r--EdkModulePkg/Universal/Variable/RuntimeDxe/Variable.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/EdkModulePkg/Universal/Variable/RuntimeDxe/Variable.c b/EdkModulePkg/Universal/Variable/RuntimeDxe/Variable.c
index 3fa16172cc..a9505d903c 100644
--- a/EdkModulePkg/Universal/Variable/RuntimeDxe/Variable.c
+++ b/EdkModulePkg/Universal/Variable/RuntimeDxe/Variable.c
@@ -1310,8 +1310,6 @@ Returns:
(((EFI_FIRMWARE_VOLUME_HEADER *) (UINTN) (TempVariableStoreHeader)) -> HeaderLength);
VariableStoreEntry.Length = (UINT64) PcdGet32 (PcdFlashNvStorageVariableSize) - \
(((EFI_FIRMWARE_VOLUME_HEADER *) (UINTN) (TempVariableStoreHeader)) -> HeaderLength);
-
- VariableStoreEntry.Length = (UINT64) PcdGet32 (PcdFlashNvStorageVariableSize);
//
// Mark the variable storage region of the FLASH as RUNTIME
//