Re: [PATCH] Yet more PCI fixes for 2.5.70

Greg KH (greg@kroah.com)
Tue, 10 Jun 2003 11:49:28 -0700


ChangeSet 1.1355, 2003/06/09 16:03:33-07:00, greg@kroah.com

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

drivers/scsi/dmx3191d.c | 6 +-----
1 files changed, 1 insertion(+), 5 deletions(-)

diff -Nru a/drivers/scsi/dmx3191d.c b/drivers/scsi/dmx3191d.c
--- a/drivers/scsi/dmx3191d.c Tue Jun 10 11:19:26 2003
+++ b/drivers/scsi/dmx3191d.c Tue Jun 10 11:19:26 2003
@@ -58,11 +58,6 @@
struct Scsi_Host *instance = NULL;
struct pci_dev *pdev = NULL;

- if (!pci_present()) {
- printk(KERN_WARNING "dmx3191: PCI support not enabled\n");
- return 0;
- }
-
tmpl->proc_name = DMX3191D_DRIVER_NAME;

while ((pdev = pci_find_device(PCI_VENDOR_ID_DOMEX,
@@ -139,3 +134,4 @@
.use_clustering = DISABLE_CLUSTERING,
};
#include "scsi_module.c"
+

-
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/