diff --git a/EdkModulePkg/Bus/Pci/PciBus/Dxe/PciDeviceSupport.c b/EdkModulePkg/Bus/Pci/PciBus/Dxe/PciDeviceSupport.c index 77e7cbaa82..b1cee26c0a 100644 --- a/EdkModulePkg/Bus/Pci/PciBus/Dxe/PciDeviceSupport.c +++ b/EdkModulePkg/Bus/Pci/PciBus/Dxe/PciDeviceSupport.c @@ -305,7 +305,6 @@ Returns: UINTN PlatformOpRomSize; UINT8 PciExpressCapRegOffset; EFI_PCI_IO_PROTOCOL *PciIo; - UINT8 Data8; // // Install the pciio protocol, device path protocol @@ -340,8 +339,8 @@ Returns: // Force Interrupt line to zero for cards that come up randomly // PciIo = &(PciIoDevice->PciIo); - Data8 = 0xFF; - PciIo->Pci.Write (PciIo, EfiPciIoWidthUint8, 0x3C, 1, &Data8); + PciIo->Pci.Write (PciIo, EfiPciIoWidthUint8, 0x3C, 1, &gAllZero); + // // Process Platform OpRom //