summaryrefslogtreecommitdiffstats
path: root/BeagleBoardPkg/Bds/BdsEntry.c
diff options
context:
space:
mode:
Diffstat (limited to 'BeagleBoardPkg/Bds/BdsEntry.c')
-rw-r--r--BeagleBoardPkg/Bds/BdsEntry.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/BeagleBoardPkg/Bds/BdsEntry.c b/BeagleBoardPkg/Bds/BdsEntry.c
index 8de4e7a209..f65c9eb8b9 100644
--- a/BeagleBoardPkg/Bds/BdsEntry.c
+++ b/BeagleBoardPkg/Bds/BdsEntry.c
@@ -23,8 +23,6 @@
BOOLEAN gConsolePresent = FALSE;
-
-EFI_HANDLE mBdsImageHandle = NULL;
EFI_BDS_ARCH_PROTOCOL gBdsProtocol = {
BdsEntry,
};
@@ -228,13 +226,11 @@ BdsInitialize (
{
EFI_STATUS Status;
- mBdsImageHandle = ImageHandle;
-
//
// Install protocol interface
//
Status = gBS->InstallMultipleProtocolInterfaces (
- &mBdsImageHandle,
+ &ImageHandle,
&gEfiBdsArchProtocolGuid, &gBdsProtocol,
NULL
);