Re: [PATCH] Yet more PCI fixes for 2.5.70

Greg KH
2003-06-10T21:38:36Z

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"
+