mirror of
https://github.com/xemu-project/xemu.git
synced 2025-04-02 11:11:48 -04:00
sysbus: remove unused function sysbus_del_io
Reviewed-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
bffc687d66
commit
1dd79a237e
2 changed files with 0 additions and 6 deletions
|
@ -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();
|
||||
|
|
|
@ -71,7 +71,6 @@ void sysbus_mmio_map_overlap(SysBusDevice *dev, int n, hwaddr addr,
|
|||
int priority);
|
||||
void sysbus_add_io(SysBusDevice *dev, hwaddr addr,
|
||||
MemoryRegion *mem);
|
||||
void sysbus_del_io(SysBusDevice *dev, MemoryRegion *mem);
|
||||
MemoryRegion *sysbus_address_space(SysBusDevice *dev);
|
||||
|
||||
/* Legacy helper function for creating devices. */
|
||||
|
|
Loading…
Add table
Reference in a new issue