]> git.proxmox.com Git - mirror_edk2.git/blobdiff - Vlv2TbltDevicePkg/VlvPlatformInitDxe/IgdOpRegion.c
IntelFsp2Pkg: Remove unused keyword in new PPI header
[mirror_edk2.git] / Vlv2TbltDevicePkg / VlvPlatformInitDxe / IgdOpRegion.c
index 2200e6c751448d5c746e32ae07d0ea65046d7928..f8dc3f14f35713629b6b816ce567112c3a9dc0de 100644 (file)
@@ -133,7 +133,6 @@ GetIntegratedIntelVbtPtr (
 {\r
   EFI_STATUS                    Status;\r
   EFI_PHYSICAL_ADDRESS          VbtAddress = 0;\r
-  UINT32                        VbtSize = 0;\r
   UINTN                         FvProtocolCount;\r
   EFI_HANDLE                    *FvHandles;\r
   EFI_FIRMWARE_VOLUME_PROTOCOL  *Fv;\r
@@ -174,7 +173,6 @@ GetIntegratedIntelVbtPtr (
 \r
       if (!EFI_ERROR (Status)) {\r
         VbtAddress = (EFI_PHYSICAL_ADDRESS)(UINTN)Buffer;\r
-        VbtSize = (UINT32)VbtBufferSize;\r
         Status = EFI_SUCCESS;\r
         break;\r
       }\r
@@ -406,7 +404,6 @@ JudgeHandleIsPCIDevice(
 {\r
   EFI_STATUS  Status;\r
   EFI_DEVICE_PATH   *DPath;\r
-  EFI_DEVICE_PATH   *DevicePath;\r
 \r
   Status = gBS->HandleProtocol (\r
                   Handle,\r
@@ -414,7 +411,6 @@ JudgeHandleIsPCIDevice(
                   (VOID **) &DPath\r
                   );\r
   if(!EFI_ERROR(Status)) {\r
-    DevicePath = DPath;\r
     while(!IsDevicePathEnd(DPath)) {\r
       if((DPath->Type == HARDWARE_DEVICE_PATH) && (DPath->SubType == HW_PCI_DP)) {\r
         PCI_DEVICE_PATH   *PCIPath;\r