Commit 20bc0641 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

PCI: remove pci_present() from drivers/scsi/qlogicisp.c

parent b9bb7bdc
...@@ -666,11 +666,6 @@ int isp1020_detect(Scsi_Host_Template *tmpt) ...@@ -666,11 +666,6 @@ int isp1020_detect(Scsi_Host_Template *tmpt)
tmpt->proc_name = "isp1020"; tmpt->proc_name = "isp1020";
if (pci_present() == 0) {
printk("qlogicisp : PCI not present\n");
return 0;
}
while ((pdev = pci_find_device(PCI_VENDOR_ID_QLOGIC, PCI_DEVICE_ID_QLOGIC_ISP1020, pdev))) while ((pdev = pci_find_device(PCI_VENDOR_ID_QLOGIC, PCI_DEVICE_ID_QLOGIC_ISP1020, pdev)))
{ {
if (pci_enable_device(pdev)) if (pci_enable_device(pdev))
......
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