Merger tracker:Fixed a Pci bus driver logic error

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4799 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
vanjeff 2008-03-07 03:43:00 +00:00
parent a1a99cca13
commit a1d887b7ab
1 changed files with 5 additions and 1 deletions

View File

@ -1046,10 +1046,14 @@ Returns:
// //
for (DevIndex = 0; DevIndex < RemovedPciDevNum; DevIndex++) { for (DevIndex = 0; DevIndex < RemovedPciDevNum; DevIndex++) {
if (PciResNode->PciDev == RemovedPciDev[DevIndex]) { if (PciResNode->PciDev == RemovedPciDev[DevIndex]) {
continue; break;
} }
} }
if (DevIndex != RemovedPciDevNum) {
continue;
}
// //
// Remove the device if it isn't in the array // Remove the device if it isn't in the array
// //