aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/aic7xxx
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2005-06-10 18:15:31 -0400
committerJames Bottomley <jejb@titanic.(none)>2005-06-11 19:38:41 -0400
commite431223eca7e0785a5402999b43b16622409017f (patch)
tree8afb603aff3bad2bd97607f14f11b6e2c44f9116 /drivers/scsi/aic7xxx
parent765c4d45b8cae32faff358aa760a33cde38ea1a7 (diff)
[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/aic7xxx')
-rw-r--r--drivers/scsi/aic7xxx/aic7xxx_osm_pci.c16
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 2a0ebce83e7a..9cd4fe1c4ef2 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)
174 char *name; 174 char *name;
175 int error; 175 int error;
176 176
177 /*
178 * Some BIOSen report the same device multiple times.
179 */
180 TAILQ_FOREACH(ahc, &ahc_tailq, links) {
181 struct pci_dev *probed_pdev;
182
183 probed_pdev = ahc->dev_softc;
184 if (probed_pdev->bus->number == pdev->bus->number
185 && probed_pdev->devfn == pdev->devfn)
186 break;
187 }
188 if (ahc != NULL) {
189 /* Skip duplicate. */
190 return (-ENODEV);
191 }
192
193 pci = pdev; 177 pci = pdev;
194 entry = ahc_find_pci_device(pci); 178 entry = ahc_find_pci_device(pci);
195 if (entry == NULL) 179 if (entry == NULL)