Re: [PATCH] Yet more PCI fixes for 2.5.70

From: Greg KH (greg@kroah.com)
Date: Tue Jun 10 2003 - 13:49:27 EST


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;

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Jun 15 2003 - 22:00:25 EST