diff options
author | Christoph Hellwig <hch@lst.de> | 2005-06-11 00:15:31 +0200 |
---|---|---|
committer | James Bottomley <jejb@titanic.(none)> | 2005-06-11 18:38:41 -0500 |
commit | e431223eca7e0785a5402999b43b16622409017f (patch) | |
tree | 8afb603aff3bad2bd97607f14f11b6e2c44f9116 /drivers/scsi | |
parent | 765c4d45b8cae32faff358aa760a33cde38ea1a7 (diff) | |
download | op-kernel-dev-e431223eca7e0785a5402999b43b16622409017f.zip op-kernel-dev-e431223eca7e0785a5402999b43b16622409017f.tar.gz |
[SCSI] aic7xxx: do not check for duplicate pci ids
pci layer handles this just fine for us
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi')
-rw-r--r-- | drivers/scsi/aic7xxx/aic7xxx_osm_pci.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/drivers/scsi/aic7xxx/aic7xxx_osm_pci.c b/drivers/scsi/aic7xxx/aic7xxx_osm_pci.c index 2a0ebce..9cd4fe1 100644 --- a/drivers/scsi/aic7xxx/aic7xxx_osm_pci.c +++ b/drivers/scsi/aic7xxx/aic7xxx_osm_pci.c @@ -174,22 +174,6 @@ ahc_linux_pci_dev_probe(struct pci_dev *pdev, const struct pci_device_id *ent) char *name; int error; - /* - * Some BIOSen report the same device multiple times. - */ - TAILQ_FOREACH(ahc, &ahc_tailq, links) { - struct pci_dev *probed_pdev; - - probed_pdev = ahc->dev_softc; - if (probed_pdev->bus->number == pdev->bus->number - && probed_pdev->devfn == pdev->devfn) - break; - } - if (ahc != NULL) { - /* Skip duplicate. */ - return (-ENODEV); - } - pci = pdev; entry = ahc_find_pci_device(pci); if (entry == NULL) |