int10: Remove useless check.

If you have more than one PCI device with the same d/b/d/f, you're
already in trouble.
This commit is contained in:
Adam Jackson 2008-10-07 13:38:12 -04:00
parent 6dbfca571f
commit a65e36a873

View File

@ -488,13 +488,6 @@ pci_device_for_cfg_address (CARD32 addr)
return NULL; 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; return dev;
} }