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 --- .../ArmVExpressPkg/ArmVExpressFastBootDxe/ArmVExpressFastBoot.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'ArmPlatformPkg/ArmVExpressPkg/ArmVExpressFastBootDxe') diff --git a/ArmPlatformPkg/ArmVExpressPkg/ArmVExpressFastBootDxe/ArmVExpressFastBoot.c b/ArmPlatformPkg/ArmVExpressPkg/ArmVExpressFastBootDxe/ArmVExpressFastBoot.c index 7312cfbc16..4962666cf1 100644 --- a/ArmPlatformPkg/ArmVExpressPkg/ArmVExpressFastBootDxe/ArmVExpressFastBoot.c +++ b/ArmPlatformPkg/ArmVExpressPkg/ArmVExpressFastBootDxe/ArmVExpressFastBoot.c @@ -440,8 +440,6 @@ ArmAndroidFastbootPlatformEntryPoint ( IN EFI_SYSTEM_TABLE *SystemTable ) { - gImageHandle = ImageHandle; - return gBS->InstallProtocolInterface ( &ImageHandle, &gAndroidFastbootPlatformProtocolGuid, -- cgit v1.2.3