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