summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Library/EdkFvbServiceLib
diff options
context:
space:
mode:
Diffstat (limited to 'MdeModulePkg/Library/EdkFvbServiceLib')
-rw-r--r--MdeModulePkg/Library/EdkFvbServiceLib/Ia32/Fvb.c3
-rw-r--r--MdeModulePkg/Library/EdkFvbServiceLib/X64/Fvb.c3
2 files changed, 0 insertions, 6 deletions
diff --git a/MdeModulePkg/Library/EdkFvbServiceLib/Ia32/Fvb.c b/MdeModulePkg/Library/EdkFvbServiceLib/Ia32/Fvb.c
index d59e4715f0..8c2a77e8d6 100644
--- a/MdeModulePkg/Library/EdkFvbServiceLib/Ia32/Fvb.c
+++ b/MdeModulePkg/Library/EdkFvbServiceLib/Ia32/Fvb.c
@@ -33,7 +33,6 @@ STATIC EFI_EVENT mSetVirtualMapChangedEvent = NULL;
//
STATIC FVB_ENTRY *mFvbEntry;
STATIC EFI_EVENT mFvbRegistration;
-STATIC BOOLEAN mEfiFvbInitialized = FALSE;
STATIC UINTN mFvbCount;
/**
@@ -320,8 +319,6 @@ FvbLibInitialize (
);
ASSERT_EFI_ERROR (Status);
- mEfiFvbInitialized = TRUE;
-
return EFI_SUCCESS;
}
diff --git a/MdeModulePkg/Library/EdkFvbServiceLib/X64/Fvb.c b/MdeModulePkg/Library/EdkFvbServiceLib/X64/Fvb.c
index 0c5d7697b4..c3459656b5 100644
--- a/MdeModulePkg/Library/EdkFvbServiceLib/X64/Fvb.c
+++ b/MdeModulePkg/Library/EdkFvbServiceLib/X64/Fvb.c
@@ -32,7 +32,6 @@ STATIC EFI_EVENT mSetVirtualMapChangedEvent = NULL;
//
STATIC FVB_ENTRY *mFvbEntry;
STATIC EFI_EVENT mFvbRegistration;
-STATIC BOOLEAN mEfiFvbInitialized = FALSE;
STATIC UINTN mFvbCount;
/**
@@ -319,8 +318,6 @@ FvbLibInitialize (
);
ASSERT_EFI_ERROR (Status);
- mEfiFvbInitialized = TRUE;
-
return EFI_SUCCESS;
}