diff options
| author | Avi Kivity <avi@redhat.com> | 2011-08-08 16:09:30 +0300 |
|---|---|---|
| committer | Anthony Liguori <aliguori@us.ibm.com> | 2011-08-08 10:22:30 -0500 |
| commit | 50181f10dae755aad2b4f4f486d18e48dd66ea37 (patch) | |
| tree | 1edd7d418482ceec78b14167fd1934dfd161c3b7 /hw/pci.h | |
| parent | cfc0be257ca75abf357757661d4950aeeb4a8835 (diff) | |
| download | focaccia-qemu-50181f10dae755aad2b4f4f486d18e48dd66ea37.tar.gz focaccia-qemu-50181f10dae755aad2b4f4f486d18e48dd66ea37.zip | |
pci: fold BAR mapping function into its caller
There is only one function, so no need for a function pointer. Reviewed-by: Richard Henderson <rth@twiddle.net> Reviewed-by: Anthony Liguori <aliguori@us.ibm.com> Signed-off-by: Avi Kivity <avi@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/pci.h')
| -rw-r--r-- | hw/pci.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/hw/pci.h b/hw/pci.h index 8028176b54..8d1662a20d 100644 --- a/hw/pci.h +++ b/hw/pci.h @@ -92,7 +92,6 @@ typedef struct PCIIORegion { pcibus_t size; pcibus_t filtered_size; uint8_t type; - PCIMapIORegionFunc *map_func; MemoryRegion *memory; MemoryRegion *address_space; } PCIIORegion; |