summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2008-10-07 13:38:12 -0400
committerAdam Jackson <ajax@redhat.com>2008-10-07 13:41:53 -0400
commita65e36a873cd1ba9896cd0f9a3e94dd933666005 (patch)
tree68bcf1964252d4525056454f638b15f24a1e6b24
parent6dbfca571f6d214dc456710a60ebbbbd204cdbbd (diff)
int10: Remove useless check.
If you have more than one PCI device with the same d/b/d/f, you're already in trouble.
-rw-r--r--hw/xfree86/int10/helper_exec.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/hw/xfree86/int10/helper_exec.c b/hw/xfree86/int10/helper_exec.c
index c3af5bc08..ff8143f27 100644
--- a/hw/xfree86/int10/helper_exec.c
+++ b/hw/xfree86/int10/helper_exec.c
@@ -488,13 +488,6 @@ pci_device_for_cfg_address (CARD32 addr)
return NULL;
}
- if (pci_device_next(iter)) {
- char buf[128]; /* enough to store "%u@%u" */
- xf86FormatPciBusNumber(tag >> 16, buf);
- ErrorF("Multiple devices matching %s:%u:%u\n",
- buf, slot_match.dev, slot_match.func);
- }
-
return dev;
}