[SCSI] megaraid_sas: Fix FastPath I/O to work on degraded raid 1
authoradam radford <aradford@gmail.com>
Tue, 26 Jul 2011 23:16:40 +0000 (16:16 -0700)
committerJames Bottomley <JBottomley@Parallels.com>
Wed, 27 Jul 2011 11:44:22 +0000 (15:44 +0400)
Signed-off-by: Adam Radford <aradford@gmail.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/megaraid/megaraid_sas_fp.c

index 8fe3a45794fc454fa91fab83153528162dd9890e..5a5af1fe7581846fc2eeab99f73a002c7caa3e97 100644 (file)
@@ -288,7 +288,6 @@ u8 MR_GetPhyParams(u32 ld, u64 stripRow, u16 stripRef, u64 *pdBlock,
                                /* Get dev handle from Pd */
                                *pDevHandle = MR_PdDevHandleGet(pd, map);
                }
-               retval = FALSE;
        }
 
        *pdBlock += stripRef + MR_LdSpanPtrGet(ld, span, map)->startBlk;