]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: lpfc: Remove redundant lpfc_sli_prep_wqe() call
authorJames Smart <jsmart2021@gmail.com>
Wed, 27 Apr 2022 22:22:23 +0000 (15:22 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Mon, 2 May 2022 20:59:11 +0000 (16:59 -0400)
commit7f76a0154f6058e5e3592d837f59b6057e6dfd5e
treeced55198e2906ceb47f26c3a01b1ee7e0110ebd4
parentb3345e1cd56a2a2c0715d26e66bfd45a943b9492
scsi: lpfc: Remove redundant lpfc_sli_prep_wqe() call

Prior patch added a call to lpfc_sli_prep_wqe() prior to
lpfc_sli_issue_iocb().  This call should not have been added as prep_wqe is
called within the issue_iocb routine. So it's called twice now.

Remove the redundant prep call.

Link: https://lore.kernel.org/r/20220427222223.57920-1-jsmart2021@gmail.com
Fixes: 94fb1a2fd0f2 ("scsi: lpfc: SLI path split: Refactor Abort paths")
Signed-off-by: James Smart <jsmart2021@gmail.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/lpfc/lpfc_sli.c