Revert "dm: free entries in pci_businfo[] when deinit"
This commit is reported to cause UOS reboot fail becasue the
pci_businfo[] only be allocated when calling pci_parse_slot
in dm initialization while UOS reboot will not allocate again.
So we can't free it here.
This reverts commit 7aaff68798
.
Signed-off-by: Jie Deng <jie.deng@intel.com>
This commit is contained in:
parent
05f8fd701a
commit
130f45e9cf
|
@ -1272,9 +1272,6 @@ deinit_pci(struct vmctx *ctx)
|
|||
func, fi);
|
||||
}
|
||||
}
|
||||
|
||||
pci_businfo[bus] = NULL;
|
||||
free(bi);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue