mirror of https://github.com/acidanthera/audk.git
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:
parent
a1a99cca13
commit
a1d887b7ab
|
@ -1046,10 +1046,14 @@ Returns:
|
|||
//
|
||||
for (DevIndex = 0; DevIndex < RemovedPciDevNum; DevIndex++) {
|
||||
if (PciResNode->PciDev == RemovedPciDev[DevIndex]) {
|
||||
continue;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if (DevIndex != RemovedPciDevNum) {
|
||||
continue;
|
||||
}
|
||||
|
||||
//
|
||||
// Remove the device if it isn't in the array
|
||||
//
|
||||
|
|
Loading…
Reference in New Issue