[SCSI] megaraid_sas: Fix mismatch in megasas_reset_fusion() mutex lock-unlock
authoradam radford <aradford@gmail.com>
Sun, 9 Oct 2011 01:14:39 +0000 (18:14 -0700)
committerJames Bottomley <JBottomley@Parallels.com>
Sun, 16 Oct 2011 16:19:02 +0000 (11:19 -0500)
Signed-off-by: Adam Radford <aradford@gmail.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/megaraid/megaraid_sas_fusion.c

index 392b49d93b55dabd9240912a3dce1177ce073b63..492ad42ff7acb35e6b2078975066ea551f7058f0 100644 (file)
@@ -2057,8 +2057,7 @@ int megasas_reset_fusion(struct Scsi_Host *shost)
        if (instance->adprecovery == MEGASAS_HW_CRITICAL_ERROR) {
                printk(KERN_WARNING "megaraid_sas: Hardware critical error, "
                       "returning FAILED.\n");
-               retval = FAILED;
-               goto out;
+               return FAILED;
        }
 
        mutex_lock(&instance->reset_mutex);
This page took 0.026287 seconds and 5 git commands to generate.