]> git.proxmox.com Git - mirror_qemu.git/commit - hw/ppc/spapr_pci.c
spapr: Fold spapr_phb_{add,remove}_pci_device() into their only callers
authorDavid Gibson <david@gibson.dropbear.id.au>
Wed, 7 Jun 2017 01:35:03 +0000 (11:35 +1000)
committerDavid Gibson <david@gibson.dropbear.id.au>
Thu, 8 Jun 2017 04:38:27 +0000 (14:38 +1000)
commit6304fd27ef9f13e00d6f4ac4a56dced69ee82c3f
treefece8775fdc1c0a19210ba2ad5e0f506aa0859a9
parent0be4e88621df69f044e043f0f16d4017d35f30ae
spapr: Fold spapr_phb_{add,remove}_pci_device() into their only callers

Both functions are fairly short, and so are their callers.  There's no
particular logical distinction between them, so fold them together.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Reviewed-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Acked-by: Michael Roth <mdroth@linux.vnet.ibm.com>
hw/ppc/spapr_pci.c