diff options
author | adam radford <aradford@gmail.com> | 2011-10-09 01:14:39 (GMT) |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2011-10-16 16:19:02 (GMT) |
commit | d4a759a954072dcb0a0bbd64ec4bc5252182d032 (patch) | |
tree | 4ba9cebc0e79a75e59a048431c1ed9ab350ba01f /drivers/scsi | |
parent | 6bf579a326190d09d8c99316fefee7a6a892b891 (diff) | |
download | linux-fsl-qoriq-d4a759a954072dcb0a0bbd64ec4bc5252182d032.tar.xz |
[SCSI] megaraid_sas: Fix mismatch in megasas_reset_fusion() mutex lock-unlock
Signed-off-by: Adam Radford <aradford@gmail.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi')
-rw-r--r-- | drivers/scsi/megaraid/megaraid_sas_fusion.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/scsi/megaraid/megaraid_sas_fusion.c b/drivers/scsi/megaraid/megaraid_sas_fusion.c index 392b49d..492ad42 100644 --- a/drivers/scsi/megaraid/megaraid_sas_fusion.c +++ b/drivers/scsi/megaraid/megaraid_sas_fusion.c @@ -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); |