It is no longer necessary.
Signed-off-by: Akihiko Odaki <[email protected]>
---
hw/char/diva-gsp.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/hw/char/diva-gsp.c b/hw/char/diva-gsp.c
index e1f0713cb794..1ae472e879b5 100644
--- a/hw/char/diva-gsp.c
+++ b/hw/char/diva-gsp.c
@@ -63,7 +63,6 @@ static void diva_pci_exit(PCIDevice *dev)
for (i = 0; i < pci->ports; i++) {
s = pci->state + i;
qdev_unrealize(DEVICE(s));
- memory_region_del_subregion(&pci->membar, &s->io);
g_free(pci->name[i]);
}
qemu_free_irqs(pci->irqs, pci->ports);
--
2.51.0