mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-01-07 17:10:15 +01:00
int10: Remove useless check.
If you have more than one PCI device with the same d/b/d/f, you're
already in trouble.
(cherry picked from commit a65e36a873)
This commit is contained in:
parent
8ef37c194f
commit
c6ce2f6b3f
1 changed files with 0 additions and 7 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue