aboutsummaryrefslogtreecommitdiff
path: root/hw/pci.c
diff options
context:
space:
mode:
authorAnthony Liguori <aliguori@us.ibm.com>2009-10-05 15:48:22 -0500
committerAnthony Liguori <aliguori@us.ibm.com>2009-10-06 14:36:09 -0500
commite52eb611dbfac45ec3209f3549503aa4ba2ca2ce (patch)
tree8d67c1f7f36bec5bdbfb0889f2a50032c248e0da /hw/pci.c
parent0ca9f8a42d64571d3310ea25a63588d77efd58c3 (diff)
Revert "Fix exit on 'pci_add' Monitor command"
This reverts commit 0148fde54c2478ea8a47c8dbfe4c0fb8bda4d996. As requested by Luiz. Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/pci.c')
-rw-r--r--hw/pci.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/hw/pci.c b/hw/pci.c
index ade778f166..bd65db2239 100644
--- a/hw/pci.c
+++ b/hw/pci.c
@@ -833,17 +833,6 @@ static const char * const pci_nic_names[] = {
NULL
};
-int pci_nic_supported(const char *model)
-{
- int i;
-
- for (i = 0; pci_nic_names[i]; i++)
- if (strcmp(model, pci_nic_names[i]) == 0)
- return 1;
-
- return 0;
-}
-
/* Initialize a PCI NIC. */
PCIDevice *pci_nic_init(NICInfo *nd, const char *default_model,
const char *default_devaddr)