Commit 879e45d0 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

PCI: remove pci_present() from drivers/char/rio/rio_linux.c

parent 58b40bdd
...@@ -1126,7 +1126,6 @@ static int __init rio_init(void) ...@@ -1126,7 +1126,6 @@ static int __init rio_init(void)
} }
#ifdef CONFIG_PCI #ifdef CONFIG_PCI
if (pci_present ()) {
/* First look for the JET devices: */ /* First look for the JET devices: */
#ifndef TWO_ZERO #ifndef TWO_ZERO
while ((pdev = pci_find_device (PCI_VENDOR_ID_SPECIALIX, while ((pdev = pci_find_device (PCI_VENDOR_ID_SPECIALIX,
...@@ -1277,7 +1276,6 @@ static int __init rio_init(void) ...@@ -1277,7 +1276,6 @@ static int __init rio_init(void)
#else #else
} /* Emacs from getting confused we have two closing braces too. */ } /* Emacs from getting confused we have two closing braces too. */
#endif #endif
}
#endif /* PCI */ #endif /* PCI */
/* Now probe for ISA cards... */ /* Now probe for ISA cards... */
...@@ -1431,3 +1429,4 @@ module_exit(rio_exit); ...@@ -1431,3 +1429,4 @@ module_exit(rio_exit);
* tab-width: 8 * tab-width: 8
* End: * End:
*/ */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment