git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4799
6f19259b-4bc3-4df7-8a09-
765794883524
//\r
for (DevIndex = 0; DevIndex < RemovedPciDevNum; DevIndex++) {\r
if (PciResNode->PciDev == RemovedPciDev[DevIndex]) {\r
//\r
for (DevIndex = 0; DevIndex < RemovedPciDevNum; DevIndex++) {\r
if (PciResNode->PciDev == RemovedPciDev[DevIndex]) {\r
+ if (DevIndex != RemovedPciDevNum) {\r
+ continue;\r
+ }\r
+\r
//\r
// Remove the device if it isn't in the array\r
//\r
//\r
// Remove the device if it isn't in the array\r
//\r