Skip to content

Commit f1bfe32

Browse files
Justin Teemartinkpetersen
authored andcommitted
scsi: lpfc: Remove redundant vport assignment when building an abort request
The lpfc_sli_issue_abort_iotag() routine has a redundant assignment of abtsiocbp->vport = vport; The duplicate lines are from a previous refactoring, and this patch removes the accidental redundancy. Signed-off-by: Justin Tee <justin.tee@broadcom.com> Link: https://lore.kernel.org/r/20240726231512.92867-3-justintee8345@gmail.com Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
1 parent 5b8963c commit f1bfe32

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

drivers/scsi/lpfc/lpfc_sli.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12473,8 +12473,6 @@ lpfc_sli_issue_abort_iotag(struct lpfc_hba *phba, struct lpfc_sli_ring *pring,
1247312473
cmdiocb->iocb.ulpClass,
1247412474
LPFC_WQE_CQ_ID_DEFAULT, ia, false);
1247512475

12476-
abtsiocbp->vport = vport;
12477-
1247812476
/* ABTS WQE must go to the same WQ as the WQE to be aborted */
1247912477
abtsiocbp->hba_wqidx = cmdiocb->hba_wqidx;
1248012478
if (cmdiocb->cmd_flag & LPFC_IO_FCP)

0 commit comments

Comments
 (0)