summaryrefslogtreecommitdiffstats
path: root/hw
diff options
context:
space:
mode:
authorPaolo Bonzini2014-06-11 12:15:49 +0200
committerPaolo Bonzini2014-08-17 23:25:24 +0200
commit1dd79a237eb84a70c21b7a640f237ee603b0e74a (patch)
tree75e96f4258afd6b43add96f1dfddbbd6a437428f /hw
parentqom: object: move unparenting to the child property's release callback (diff)
downloadqemu-1dd79a237eb84a70c21b7a640f237ee603b0e74a.tar.gz
qemu-1dd79a237eb84a70c21b7a640f237ee603b0e74a.tar.xz
qemu-1dd79a237eb84a70c21b7a640f237ee603b0e74a.zip
sysbus: remove unused function sysbus_del_io
Reviewed-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw')
-rw-r--r--hw/core/sysbus.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/hw/core/sysbus.c b/hw/core/sysbus.c
index f4e760d6eb..414e2a1921 100644
--- a/hw/core/sysbus.c
+++ b/hw/core/sysbus.c
@@ -242,11 +242,6 @@ void sysbus_add_io(SysBusDevice *dev, hwaddr addr,
memory_region_add_subregion(get_system_io(), addr, mem);
}
-void sysbus_del_io(SysBusDevice *dev, MemoryRegion *mem)
-{
- memory_region_del_subregion(get_system_io(), mem);
-}
-
MemoryRegion *sysbus_address_space(SysBusDevice *dev)
{
return get_system_memory();