mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 08:13:54 -06:00
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>
This commit is contained in:
parent
cfc0be257c
commit
50181f10da
2 changed files with 9 additions and 17 deletions
1
hw/pci.h
1
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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue