aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/qla2xxx/qla_bsg.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_bsg.c')
-rw-r--r--drivers/scsi/qla2xxx/qla_bsg.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/scsi/qla2xxx/qla_bsg.c b/drivers/scsi/qla2xxx/qla_bsg.c
index 518fccfbfdb2..04ead0620d5f 100644
--- a/drivers/scsi/qla2xxx/qla_bsg.c
+++ b/drivers/scsi/qla2xxx/qla_bsg.c
@@ -396,15 +396,6 @@ qla2x00_process_ct(struct fc_bsg_job *bsg_job)
396 char *type = "FC_BSG_HST_CT"; 396 char *type = "FC_BSG_HST_CT";
397 struct srb_ctx *ct; 397 struct srb_ctx *ct;
398 398
399 /* pass through is supported only for ISP 4Gb or higher */
400 if (!IS_FWI2_CAPABLE(ha)) {
401 DEBUG2(qla_printk(KERN_INFO, ha,
402 "scsi(%ld):Firmware is not capable to support FC "
403 "CT pass thru\n", vha->host_no));
404 rval = -EPERM;
405 goto done;
406 }
407
408 req_sg_cnt = 399 req_sg_cnt =
409 dma_map_sg(&ha->pdev->dev, bsg_job->request_payload.sg_list, 400 dma_map_sg(&ha->pdev->dev, bsg_job->request_payload.sg_list,
410 bsg_job->request_payload.sg_cnt, DMA_TO_DEVICE); 401 bsg_job->request_payload.sg_cnt, DMA_TO_DEVICE);