Commit b99a7d05 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

PCI: remove pci_present() from drivers/scsi/3w-xxxx.c

parent 0cd71aa2
...@@ -2379,12 +2379,6 @@ int tw_scsi_detect(Scsi_Host_Template *tw_host) ...@@ -2379,12 +2379,6 @@ int tw_scsi_detect(Scsi_Host_Template *tw_host)
printk(KERN_WARNING "3ware Storage Controller device driver for Linux v%s.\n", tw_driver_version); printk(KERN_WARNING "3ware Storage Controller device driver for Linux v%s.\n", tw_driver_version);
/* Check if the kernel has PCI interface compiled in */
if (!pci_present()) {
printk(KERN_WARNING "3w-xxxx: tw_scsi_detect(): No pci interface present.\n");
return 0;
}
ret = tw_findcards(tw_host); ret = tw_findcards(tw_host);
return ret; return ret;
......
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