summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/aic94xx
diff options
context:
space:
mode:
authormalahal@us.ibm.com <malahal@us.ibm.com>2006-09-08 00:12:42 +0200
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>2006-09-23 18:47:29 +0200
commit10d19ae5e1715c27db7009df6d59179774e7b8a1 (patch)
tree02ef755c802efc3823c87717aee78174d61f4f58 /drivers/scsi/aic94xx
parent[SCSI] aic94xx: Removes Reliance on FLASH Manufacture IDs (diff)
downloadlinux-10d19ae5e1715c27db7009df6d59179774e7b8a1.tar.xz
linux-10d19ae5e1715c27db7009df6d59179774e7b8a1.zip
[SCSI] aic94xx: Fix for a typo in aic94xx_init()
Signed-off-by: Malahal Naineni <malahal@us.ibm.com> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/aic94xx')
-rw-r--r--drivers/scsi/aic94xx/aic94xx_init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/aic94xx/aic94xx_init.c b/drivers/scsi/aic94xx/aic94xx_init.c
index 302b54fddf3c..ee2ccad70487 100644
--- a/drivers/scsi/aic94xx/aic94xx_init.c
+++ b/drivers/scsi/aic94xx/aic94xx_init.c
@@ -828,7 +828,7 @@ static int __init aic94xx_init(void)
aic94xx_transport_template =
sas_domain_attach_transport(&aic94xx_transport_functions);
- if (err)
+ if (!aic94xx_transport_template)
goto out_destroy_caches;
err = pci_register_driver(&aic94xx_pci_driver);