diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2019-05-13 16:19:39 +1000 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2019-05-29 18:00:57 -0400 |
commit | 2ad778b8c2175cb16f731d1e789e151a691172ce (patch) | |
tree | f96b6738a88d02849f448c6857da716c7d2b3d7a /qemu-options.hx | |
parent | 91f4c995f26795dbb6d1b09392a6448e389ed029 (diff) |
pci: Fold pci_get_bus_devfn() into its sole caller
The only remaining caller of pci_get_bus_devfn() is pci_nic_init_nofail(),
itself an old compatibility function. Fold the two together to avoid
re-using the stale interface.
While we're there replace the explicit fprintf()s with error_report().
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Message-Id: <20190513061939.3464-6-david@gibson.dropbear.id.au>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Greg Kurz <groug@kaod.org>
Diffstat (limited to 'qemu-options.hx')
0 files changed, 0 insertions, 0 deletions