diff options
-rw-r--r-- | drivers/scsi/aic94xx/aic94xx_init.c | 2 |
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) | |||
828 | 828 | ||
829 | aic94xx_transport_template = | 829 | aic94xx_transport_template = |
830 | sas_domain_attach_transport(&aic94xx_transport_functions); | 830 | sas_domain_attach_transport(&aic94xx_transport_functions); |
831 | if (err) | 831 | if (!aic94xx_transport_template) |
832 | goto out_destroy_caches; | 832 | goto out_destroy_caches; |
833 | 833 | ||
834 | err = pci_register_driver(&aic94xx_pci_driver); | 834 | err = pci_register_driver(&aic94xx_pci_driver); |