aboutsummaryrefslogtreecommitdiff
path: root/hw/remote/iohub.c
diff options
context:
space:
mode:
authorDr. David Alan Gilbert <dave@treblig.org>2024-09-19 17:58:52 +0100
committerMichael Tokarev <mjt@tls.msk.ru>2024-10-03 17:26:06 +0300
commit9f0b40efff697e4dd2239278a02bb2085bc10503 (patch)
treeebb5968838cf2c331b814f558cb54f3288dbc516 /hw/remote/iohub.c
parentabe9ff2578f3aa7f995af8b57ffc32adc2aa1f94 (diff)
downloadqemu-9f0b40efff697e4dd2239278a02bb2085bc10503.zip
qemu-9f0b40efff697e4dd2239278a02bb2085bc10503.tar.gz
qemu-9f0b40efff697e4dd2239278a02bb2085bc10503.tar.bz2
remote: Remove unused remote_iohub_finalize
remote_iohub_finalize has never been used. Remove it. Signed-off-by: Dr. David Alan Gilbert <dave@treblig.org> Reviewed-by: Jagannathan Raman <jag.raman@oracle.com> Reviewed-by: Thomas Huth <thuth@redhat.com> Reviewed-by: Michael Tokarev <mjt@tls.msk.ru> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'hw/remote/iohub.c')
-rw-r--r--hw/remote/iohub.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/hw/remote/iohub.c b/hw/remote/iohub.c
index 40dfee4..988d328 100644
--- a/hw/remote/iohub.c
+++ b/hw/remote/iohub.c
@@ -33,19 +33,6 @@ void remote_iohub_init(RemoteIOHubState *iohub)
}
}
-void remote_iohub_finalize(RemoteIOHubState *iohub)
-{
- int pirq;
-
- for (pirq = 0; pirq < REMOTE_IOHUB_NB_PIRQS; pirq++) {
- qemu_set_fd_handler(event_notifier_get_fd(&iohub->resamplefds[pirq]),
- NULL, NULL, NULL);
- event_notifier_cleanup(&iohub->irqfds[pirq]);
- event_notifier_cleanup(&iohub->resamplefds[pirq]);
- qemu_mutex_destroy(&iohub->irq_level_lock[pirq]);
- }
-}
-
int remote_iohub_map_irq(PCIDevice *pci_dev, int intx)
{
return pci_dev->devfn;