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
|
@ -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…
Reference in New Issue
Block a user