aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/scsi/qla2xxx/qla_iocb.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/scsi/qla2xxx/qla_iocb.c b/drivers/scsi/qla2xxx/qla_iocb.c
index 9de372f00d4a..42ef481db942 100644
--- a/drivers/scsi/qla2xxx/qla_iocb.c
+++ b/drivers/scsi/qla2xxx/qla_iocb.c
@@ -1189,7 +1189,6 @@ qla24xx_build_scsi_crc_2_iocbs(srb_t *sp, struct cmd_type_crc_2 *cmd_pkt,
1189 uint32_t *cur_dsd, *fcp_dl; 1189 uint32_t *cur_dsd, *fcp_dl;
1190 scsi_qla_host_t *vha; 1190 scsi_qla_host_t *vha;
1191 struct scsi_cmnd *cmd; 1191 struct scsi_cmnd *cmd;
1192 struct scatterlist *cur_seg;
1193 int sgc; 1192 int sgc;
1194 uint32_t total_bytes = 0; 1193 uint32_t total_bytes = 0;
1195 uint32_t data_bytes; 1194 uint32_t data_bytes;
@@ -1396,7 +1395,6 @@ qla24xx_build_scsi_crc_2_iocbs(srb_t *sp, struct cmd_type_crc_2 *cmd_pkt,
1396 1395
1397 if (bundling && tot_prot_dsds) { 1396 if (bundling && tot_prot_dsds) {
1398 /* Walks dif segments */ 1397 /* Walks dif segments */
1399 cur_seg = scsi_prot_sglist(cmd);
1400 cmd_pkt->control_flags |= 1398 cmd_pkt->control_flags |=
1401 __constant_cpu_to_le16(CF_DIF_SEG_DESCR_ENABLE); 1399 __constant_cpu_to_le16(CF_DIF_SEG_DESCR_ENABLE);
1402 cur_dsd = (uint32_t *) &crc_ctx_pkt->u.bundling.dif_address; 1400 cur_dsd = (uint32_t *) &crc_ctx_pkt->u.bundling.dif_address;