From 4982ea57d973e25ded82841fe0fe351f173eac65 Mon Sep 17 00:00:00 2001 From: Sunny Wang Date: Fri, 28 Aug 2015 05:41:06 +0000 Subject: MdeModulePkg: Remove unused variables from both UefiBootManagerLib and BdsDxe to fix GCC build. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Sunny Wang Reviewed-by: Eric Dong git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18350 6f19259b-4bc3-4df7-8a09-765794883524 --- MdeModulePkg/Library/UefiBootManagerLib/BmDriverHealth.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'MdeModulePkg/Library/UefiBootManagerLib/BmDriverHealth.c') diff --git a/MdeModulePkg/Library/UefiBootManagerLib/BmDriverHealth.c b/MdeModulePkg/Library/UefiBootManagerLib/BmDriverHealth.c index b3f57f56fa..bffbedaf84 100644 --- a/MdeModulePkg/Library/UefiBootManagerLib/BmDriverHealth.c +++ b/MdeModulePkg/Library/UefiBootManagerLib/BmDriverHealth.c @@ -1,6 +1,7 @@ /** @file Library functions which relates with driver health. +(C) Copyright 2015 Hewlett-Packard Development Company, L.P.
Copyright (c) 2011 - 2015, Intel Corporation. All rights reserved.
This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License @@ -295,7 +296,6 @@ EfiBootManagerGetDriverHealthInfo ( EFI_STATUS Status; UINTN NumHandles; EFI_HANDLE *DriverHealthHandles; - EFI_DRIVER_HEALTH_STATUS HealthStatus; UINTN DriverHealthIndex; EFI_HANDLE *Handles; UINTN HandleCount; @@ -313,8 +313,6 @@ EfiBootManagerGetDriverHealthInfo ( NumHandles = 0; HandleCount = 0; - HealthStatus = EfiDriverHealthStatusHealthy; - Status = gBS->LocateHandleBuffer ( ByProtocol, &gEfiDriverHealthProtocolGuid, -- cgit v1.2.3