diff options
author | James Smart <jsmart2021@gmail.com> | 2022-07-02 00:14:22 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2022-07-08 00:21:44 +0300 |
commit | b21c9deb1479bcbeea8b06c490a815690c7c86e9 (patch) | |
tree | 7a63357c7a3682bbe4d8189ce75e9a31c81d6024 /drivers/scsi/lpfc/lpfc_hw.h | |
parent | ffc566411aded3c12c63e1310fb23830e9608c59 (diff) | |
download | linux-b21c9deb1479bcbeea8b06c490a815690c7c86e9.tar.xz |
scsi: lpfc: Refactor lpfc_nvmet_prep_abort_wqe() into lpfc_sli_prep_abort_xri()
lpfc_nvmet_prep_abort_wqe() has a lot of common code with
lpfc_sli_prep_abort_xri().
Delete lpfc_nvmet_prep_abort_wqe() as the wqe can be filled out using the
generic lpfc_sli_prep_abort_xri routine(). Add the wqec option to
lpfc_sli_prep_abort_xri() for lpfc_nvmet_prep_abort_wqe().
Link: https://lore.kernel.org/r/20220701211425.2708-10-jsmart2021@gmail.com
Co-developed-by: Justin Tee <justin.tee@broadcom.com>
Signed-off-by: Justin Tee <justin.tee@broadcom.com>
Signed-off-by: James Smart <jsmart2021@gmail.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_hw.h')
0 files changed, 0 insertions, 0 deletions