Re: [PATCH] Yet more PCI fixes for 2.5.70

Greg KH
2003-06-10T20:53:58Z

ChangeSet 1.1350, 2003/06/09 16:01:11-07:00, greg@kroah.com

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

drivers/scsi/3w-xxxx.c | 6 ------
1 files changed, 6 deletions(-)

diff -Nru a/drivers/scsi/3w-xxxx.c b/drivers/scsi/3w-xxxx.c
--- a/drivers/scsi/3w-xxxx.c Tue Jun 10 11:19:52 2003
+++ b/drivers/scsi/3w-xxxx.c Tue Jun 10 11:19:52 2003
@@ -2379,12 +2379,6 @@

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);

return ret;