Commit 1b99d876 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

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

parent 08c681a6
...@@ -691,7 +691,6 @@ ip2_loadmain(int *iop, int *irqp, unsigned char *firmware, int firmsize) ...@@ -691,7 +691,6 @@ ip2_loadmain(int *iop, int *irqp, unsigned char *firmware, int firmsize)
} }
} }
#else /* LINUX_VERSION_CODE > 2.1.99 */ #else /* LINUX_VERSION_CODE > 2.1.99 */
if (pci_present()) {
struct pci_dev *pci_dev_i = NULL; struct pci_dev *pci_dev_i = NULL;
pci_dev_i = pci_find_device(PCI_VENDOR_ID_COMPUTONE, pci_dev_i = pci_find_device(PCI_VENDOR_ID_COMPUTONE,
PCI_DEVICE_ID_COMPUTONE_IP2EX, pci_dev_i); PCI_DEVICE_ID_COMPUTONE_IP2EX, pci_dev_i);
...@@ -726,7 +725,6 @@ ip2_loadmain(int *iop, int *irqp, unsigned char *firmware, int firmsize) ...@@ -726,7 +725,6 @@ ip2_loadmain(int *iop, int *irqp, unsigned char *firmware, int firmsize)
pcibios_strerror(status); pcibios_strerror(status);
} }
} }
}
#endif /* ! 2_0_X */ #endif /* ! 2_0_X */
#else #else
printk( KERN_ERR "IP2: PCI card specified but PCI support not\n"); printk( KERN_ERR "IP2: PCI card specified but PCI support not\n");
......
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