From a65e36a873cd1ba9896cd0f9a3e94dd933666005 Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Tue, 7 Oct 2008 13:38:12 -0400 Subject: [PATCH] int10: Remove useless check. If you have more than one PCI device with the same d/b/d/f, you're already in trouble. --- hw/xfree86/int10/helper_exec.c | 7 ------- 1 file changed, 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; }