From: Laszlo Ersek Date: Thu, 24 Mar 2016 09:48:21 +0000 (+0100) Subject: CorebootPayloadPkg: PlatformBdsLib: remove set but unused variables X-Git-Tag: edk2-stable201903~7531 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=6051996ccc6f540125d81c2a731e3df006d7415c CorebootPayloadPkg: PlatformBdsLib: remove set but unused variables Cc: Maurice Ma Cc: Prince Agyeman Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Laszlo Ersek Reviewed-by: Jordan Justen Reviewed-by: Jeff Fan --- diff --git a/CorebootPayloadPkg/Library/PlatformBdsLib/BdsPlatform.c b/CorebootPayloadPkg/Library/PlatformBdsLib/BdsPlatform.c index 4414485306..ef6a1b26ca 100644 --- a/CorebootPayloadPkg/Library/PlatformBdsLib/BdsPlatform.c +++ b/CorebootPayloadPkg/Library/PlatformBdsLib/BdsPlatform.c @@ -106,7 +106,6 @@ Returns: { EFI_STATUS Status; EFI_DEVICE_PATH_PROTOCOL *DevicePath; - EFI_DEVICE_PATH_PROTOCOL *TempDevicePath; CHAR16 *DevPathStr; DevicePath = NULL; @@ -118,7 +117,6 @@ Returns: if (EFI_ERROR (Status)) { return Status; } - TempDevicePath = DevicePath; // // Register COM1