Commit 08eae891 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

PCI: remove pci_present() from drivers/atm/fore200e.c

parent a09a3531
...@@ -633,11 +633,6 @@ fore200e_pca_detect(const struct fore200e_bus* bus, int index) ...@@ -633,11 +633,6 @@ fore200e_pca_detect(const struct fore200e_bus* bus, int index)
struct pci_dev* pci_dev = NULL; struct pci_dev* pci_dev = NULL;
int count = index; int count = index;
if (pci_present() == 0) {
printk(FORE200E "no PCI subsystem\n");
return NULL;
}
do { do {
pci_dev = pci_find_device(PCI_VENDOR_ID_FORE, PCI_DEVICE_ID_FORE_PCA200E, pci_dev); pci_dev = pci_find_device(PCI_VENDOR_ID_FORE, PCI_DEVICE_ID_FORE_PCA200E, pci_dev);
if (pci_dev == NULL) if (pci_dev == NULL)
......
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