X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=IntelFrameworkModulePkg%2FBus%2FPci%2FPciBusDxe%2FPciDeviceSupport.c;h=bae0109095c585ba22bdec7ddd2f2d6a85793cda;hp=40bef06868433eeed146c98930b259d711a51f2a;hb=f3f33e1da8b61edd8dc281b5794b999c0ac54a87;hpb=429cac9c178d62020bc05debadee974986cef769;ds=sidebyside diff --git a/IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciDeviceSupport.c b/IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciDeviceSupport.c index 40bef06868..bae0109095 100644 --- a/IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciDeviceSupport.c +++ b/IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciDeviceSupport.c @@ -767,7 +767,6 @@ StartPciDevices ( IN EFI_HANDLE Controller ) { - EFI_STATUS Status; PCI_IO_DEVICE *RootBridge; EFI_HANDLE ThisHostBridge; LIST_ENTRY *CurrentLink; @@ -785,16 +784,13 @@ StartPciDevices ( // Locate the right root bridge to start // if (RootBridge->PciRootBridgeIo->ParentHandle == ThisHostBridge) { - Status = StartPciDevicesOnBridge ( - RootBridge->Handle, - RootBridge, - NULL, - NULL, - NULL - ); - if (EFI_ERROR (Status)) { - return Status; - } + StartPciDevicesOnBridge ( + RootBridge->Handle, + RootBridge, + NULL, + NULL, + NULL + ); } CurrentLink = CurrentLink->ForwardLink;