diff options
author | Himanshu Madhani <himanshu.madhani@qlogic.com> | 2014-09-25 06:14:56 -0400 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2014-09-25 14:25:08 +0200 |
commit | da6b0ace34378e928a6cba6010d7856664c46746 (patch) | |
tree | 5f83b110b1f82df1d26bd9a29603305d15769dcf /drivers/scsi | |
parent | 33e7997755936ba92516c6ad69cd012c2e7d4dbb (diff) | |
download | linux-da6b0ace34378e928a6cba6010d7856664c46746.tar.gz linux-da6b0ace34378e928a6cba6010d7856664c46746.tar.bz2 linux-da6b0ace34378e928a6cba6010d7856664c46746.zip |
qla2xxx: Do not send SS_RESIDUAL_UNDER with SAM_STAT_BUSY
Signed-off-by: Himanshu Madhani <himanshu.madhani@qlogic.com>
Signed-off-by: Saurav Kashyap <saurav.kashyap@qlogic.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers/scsi')
-rw-r--r-- | 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 9f248e7505ff..94b726ed21e1 100644 --- a/drivers/scsi/qla2xxx/qla_target.c +++ b/drivers/scsi/qla2xxx/qla_target.c @@ -4313,12 +4313,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; } |