From c3b6d97563982940a2af26671c371998684a2fd9 Mon Sep 17 00:00:00 2001 From: Olivier Martin Date: Fri, 1 Aug 2014 18:33:17 +0000 Subject: ArmPlatformPkg: Removed the global ImageHandle when UefiBootServicesTableLib is included UefiBootServicesTableLib already defines gImageHandle that has been initialized with the value of ImageHandle. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Olivier Martin git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15737 6f19259b-4bc3-4df7-8a09-765794883524 --- BeagleBoardPkg/Bds/BdsEntry.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'BeagleBoardPkg') 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 ); -- cgit v1.2.3