mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-01-07 03:10:11 +01:00
Removed #ifdef'ed out code together with the comment explaining why it was
#ifdef'ed out.
Fixed typo.
Added comment to a changed that's been committed with one of the previous
commits.
This commit is contained in:
parent
0e6a122316
commit
d0b17bda4d
1 changed files with 5 additions and 0 deletions
|
|
@ -956,6 +956,11 @@ xf86scanpci(int flags)
|
|||
PCITAG tag;
|
||||
static Bool done = FALSE;
|
||||
|
||||
/*
|
||||
* if we haven't found PCI devices checking for pci_devp may
|
||||
* result in an endless recursion if platform/OS specific PCI
|
||||
* bus probing code calls this function from with in it.
|
||||
*/
|
||||
if (done || pci_devp[0])
|
||||
return pci_devp;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue