diff options
author | Marvin Häuser <Marvin.Haeuser@outlook.com> | 2018-02-27 23:26:49 +0100 |
---|---|---|
committer | Jiewen Yao <jiewen.yao@intel.com> | 2018-02-28 09:14:55 +0800 |
commit | 8d17b17cfc1af4b4f9dc0b566f1207c73ae9557b (patch) | |
tree | 16b820cb7c41d11a9307ce2112998ee9945d912b /Platform/Intel/MinPlatformPkg/Bds/Library/DxePlatformBootManagerLib/BdsPlatform.c | |
parent | 5e5388f97d63159a3085dff5f0d2785eb73de3bf (diff) | |
download | edk2-platforms-8d17b17cfc1af4b4f9dc0b566f1207c73ae9557b.tar.xz |
MinPlatformPkg/DxePlatformBootManagerLib: Remove unused variables.
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Marvin Haeuser <Marvin.Haeuser@outlook.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
Diffstat (limited to 'Platform/Intel/MinPlatformPkg/Bds/Library/DxePlatformBootManagerLib/BdsPlatform.c')
-rw-r--r-- | Platform/Intel/MinPlatformPkg/Bds/Library/DxePlatformBootManagerLib/BdsPlatform.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/Platform/Intel/MinPlatformPkg/Bds/Library/DxePlatformBootManagerLib/BdsPlatform.c b/Platform/Intel/MinPlatformPkg/Bds/Library/DxePlatformBootManagerLib/BdsPlatform.c index 2e4eff15eb..79ff8b0b6c 100644 --- a/Platform/Intel/MinPlatformPkg/Bds/Library/DxePlatformBootManagerLib/BdsPlatform.c +++ b/Platform/Intel/MinPlatformPkg/Bds/Library/DxePlatformBootManagerLib/BdsPlatform.c @@ -522,9 +522,6 @@ GetGraphicsController ( EFI_HANDLE *PciHandles;
UINTN PciHandlesSize;
EFI_DEVICE_PATH_PROTOCOL *DevicePath;
- VOID *TrustedConsoleDevicepath;
-
- TrustedConsoleDevicepath = PcdGetPtr (PcdTrustedConsoleOutputDevicePath);
Status = gBS->LocateHandleBuffer (
ByProtocol,
@@ -817,16 +814,14 @@ BootCurrentIsInternalShell ( CHAR16 BootOptionName[16];
UINT8 *BootOption;
UINT8 *Ptr;
- EFI_DEVICE_PATH_PROTOCOL *BootDevicePath;
BOOLEAN Result;
EFI_STATUS Status;
EFI_DEVICE_PATH_PROTOCOL *TempDevicePath;
EFI_DEVICE_PATH_PROTOCOL *LastDeviceNode;
EFI_GUID *GuidPoint;
- BootOption = NULL;
- BootDevicePath = NULL;
- Result = FALSE;
+ BootOption = NULL;
+ Result = FALSE;
//
// Get BootCurrent variable
|