diff options
author | Christoph Hellwig <hch@lst.de> | 2005-06-28 16:50:40 +0200 |
---|---|---|
committer | James Bottomley <jejb@titanic.(none)> | 2005-07-11 12:47:47 -0500 |
commit | 2a40342e0e72a2ba89aaa9e6c9a9eceb04741b24 (patch) | |
tree | cda0577cc5348df8e4662b9615af7941852be3a3 /drivers/scsi/aic7xxx/aic7xxx_pci.c | |
parent | dfd287f6ee9be1e3ae8fe1160c185aac6ca83c6a (diff) |
[SCSI] aic7xxx: remove ahc_tailq
now that we do normal PCI probing there's no need to keep a list of
all HBAs.
Rejections fixed up and
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/aic7xxx/aic7xxx_pci.c')
-rw-r--r-- | drivers/scsi/aic7xxx/aic7xxx_pci.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/drivers/scsi/aic7xxx/aic7xxx_pci.c b/drivers/scsi/aic7xxx/aic7xxx_pci.c index 7ddcc97fb24..b3b2e2237eb 100644 --- a/drivers/scsi/aic7xxx/aic7xxx_pci.c +++ b/drivers/scsi/aic7xxx/aic7xxx_pci.c @@ -704,7 +704,6 @@ ahc_find_pci_device(ahc_dev_softc_t pci) int ahc_pci_config(struct ahc_softc *ahc, struct ahc_pci_identity *entry) { - u_long l; u_int command; u_int our_id; u_int sxfrctl1; @@ -964,12 +963,7 @@ ahc_pci_config(struct ahc_softc *ahc, struct ahc_pci_identity *entry) if (error != 0) return (error); - ahc_list_lock(&l); - /* - * Link this softc in with all other ahc instances. - */ - ahc_softc_insert(ahc); - ahc_list_unlock(&l); + ahc->init_level++; return (0); } |