mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 08:13:54 -06:00
exec: eliminate qemu_put_ram_ptr
Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
bbcfd2913c
commit
4f39178b3a
5 changed files with 0 additions and 15 deletions
|
@ -1959,8 +1959,6 @@ static int pci_add_option_rom(PCIDevice *pdev, bool is_default_rom)
|
|||
pci_patch_ids(pdev, ptr, size);
|
||||
}
|
||||
|
||||
qemu_put_ram_ptr(ptr);
|
||||
|
||||
pci_register_bar(pdev, PCI_ROM_SLOT, 0, &pdev->rom);
|
||||
|
||||
return 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue