From f3f33e1da8b61edd8dc281b5794b999c0ac54a87 Mon Sep 17 00:00:00 2001 From: vanjeff Date: Mon, 13 Jul 2009 10:26:20 +0000 Subject: [PATCH] rollback for fix scsi disk detection issue. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8927 6f19259b-4bc3-4df7-8a09-765794883524 --- .../Bus/Pci/PciBusDxe/PciDeviceSupport.c | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) 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; -- 2.39.2