diff options
Diffstat (limited to 'MdeModulePkg/Bus/Pci')
-rw-r--r-- | MdeModulePkg/Bus/Pci/PciBusDxe/PciLib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MdeModulePkg/Bus/Pci/PciBusDxe/PciLib.c b/MdeModulePkg/Bus/Pci/PciBusDxe/PciLib.c index 548b8a2298..8397a40582 100644 --- a/MdeModulePkg/Bus/Pci/PciBusDxe/PciLib.c +++ b/MdeModulePkg/Bus/Pci/PciBusDxe/PciLib.c @@ -1241,7 +1241,7 @@ PciHostBridgeEnumerator ( );
FreePool (Configuration);
- Link = GetNextNode (&RootBridgeList, Link);
+ Link = RemoveEntryList (Link);
DestroyRootBridge (RootBridgeDev);
}
|