[SCSI] aic94xx: Fix for a typo in aic94xx_init()
authormalahal@us.ibm.com <malahal@us.ibm.com>
Thu, 7 Sep 2006 22:12:42 +0000 (15:12 -0700)
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>
Sat, 23 Sep 2006 16:47:29 +0000 (11:47 -0500)
Signed-off-by: Malahal Naineni <malahal@us.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/aic94xx/aic94xx_init.c

index 302b54fddf3cf5b3c05fa41b8aa7a5410d606014..ee2ccad70487cca1a60076d388e1eadf3760b55f 100644 (file)
@@ -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);