pci: fold BAR mapping function into its caller
authorAvi Kivity <avi@redhat.com>
Mon, 8 Aug 2011 13:09:30 +0000 (16:09 +0300)
committerAnthony Liguori <aliguori@us.ibm.com>
Mon, 8 Aug 2011 15:22:30 +0000 (10:22 -0500)
commit5bfe5332cdd6ada3eb63239ee53085c6046c13e0
tree1edd7d418482ceec78b14167fd1934dfd161c3b7
parentf1f6f65401795f3c78347cf4395f47341a81f9a6
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>
hw/pci.c
hw/pci.h