diff mbox

[edk2,02/35] CorebootPayloadPkg: PlatformBdsLib: remove set but unused variables

Message ID 1458815844-24793-3-git-send-email-lersek@redhat.com
State Accepted
Commit 6051996ccc6f540125d81c2a731e3df006d7415c
Headers show

Commit Message

Laszlo Ersek March 24, 2016, 10:36 a.m. UTC
Cc: Maurice Ma <maurice.ma@intel.com>
Cc: Prince Agyeman <prince.agyeman@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Laszlo Ersek <lersek@redhat.com>

---
 CorebootPayloadPkg/Library/PlatformBdsLib/BdsPlatform.c | 2 --
 1 file changed, 2 deletions(-)

-- 
1.8.3.1


_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel
diff mbox

Patch

diff --git a/CorebootPayloadPkg/Library/PlatformBdsLib/BdsPlatform.c b/CorebootPayloadPkg/Library/PlatformBdsLib/BdsPlatform.c
index 44144853068a..ef6a1b26ca57 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