From: Himanshu Madhani <himanshu.madh...@qlogic.com>

Signed-off-by: Himanshu Madhani <himanshu.madh...@qlogic.com>
Signed-off-by: Saurav Kashyap <saurav.kash...@qlogic.com>
---
 drivers/scsi/qla2xxx/qla_target.c |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)

diff --git a/drivers/scsi/qla2xxx/qla_target.c 
b/drivers/scsi/qla2xxx/qla_target.c
index fed7fef..b07b180 100644
--- a/drivers/scsi/qla2xxx/qla_target.c
+++ b/drivers/scsi/qla2xxx/qla_target.c
@@ -4308,12 +4308,6 @@ static int __qlt_send_busy(struct scsi_qla_host *vha,
         */
        ctio24->u.status1.ox_id = swab16(atio->u.isp24.fcp_hdr.ox_id);
        ctio24->u.status1.scsi_status = cpu_to_le16(status);
-       ctio24->u.status1.residual = get_unaligned((uint32_t *)
-           &atio->u.isp24.fcp_cmnd.add_cdb[
-           atio->u.isp24.fcp_cmnd.add_cdb_len]);
-       if (ctio24->u.status1.residual != 0)
-               ctio24->u.status1.scsi_status |= SS_RESIDUAL_UNDER;
-
        qla2x00_start_iocbs(vha, vha->req);
        return 0;
 }
-- 
1.7.7

--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to