diff options
author | Fuqian Huang <huangfq.daxian@gmail.com> | 2019-08-08 03:35:25 +0200 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2019-08-20 04:07:50 +0200 |
commit | ee9a256cd8d0f7d23d7dd310d7fdc23f28cada0d (patch) | |
tree | e182667bf989938a9ca966442a242b7f424c7184 /drivers/scsi/lpfc/lpfc_bsg.c | |
parent | scsi: fnic: remove redundant assignment of variable rc (diff) | |
download | linux-ee9a256cd8d0f7d23d7dd310d7fdc23f28cada0d.tar.xz linux-ee9a256cd8d0f7d23d7dd310d7fdc23f28cada0d.zip |
scsi: lpfc: remove redundant code
Remove the redundant initialization code.
Signed-off-by: Fuqian Huang <huangfq.daxian@gmail.com>
Reviewed-by: James Smart <james.smart@broadcom.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_bsg.c')
-rw-r--r-- | drivers/scsi/lpfc/lpfc_bsg.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/scsi/lpfc/lpfc_bsg.c b/drivers/scsi/lpfc/lpfc_bsg.c index c7f66239ca70..251504cd575f 100644 --- a/drivers/scsi/lpfc/lpfc_bsg.c +++ b/drivers/scsi/lpfc/lpfc_bsg.c @@ -1569,7 +1569,6 @@ lpfc_issue_ct_rsp(struct lpfc_hba *phba, struct bsg_job *job, uint32_t tag, "2722 Xmit CT response on exchange x%x Data: x%x x%x x%x\n", icmd->ulpContext, icmd->ulpIoTag, tag, phba->link_state); - ctiocb->iocb_cmpl = NULL; ctiocb->iocb_flag |= LPFC_IO_LIBDFC; ctiocb->vport = phba->pport; ctiocb->context1 = dd_data; |