lpfc: Fix variable 'vport' set but not used in lpfc_sli4_abts_err_handler
Subsystems (2)
PATCH 1/1 lpfc: Fix variable 'vport' set but not used in lpfc_sli4_abts_err_handler
Remove vport variable that is assigned but not used in lpfc_sli4_abts_err_handler().
Fixes e7dab164a9aa ("scsi: lpfc: Fix scheduling call while in softirq context in lpfc_unreg_rpi")
Reported-by kernel test robot <[email protected]>
Signed-off-by James Smart <[email protected]>
--- drivers/scsi/lpfc/lpfc_sli.c | 2 -- 1 file changed, 2 deletions(-)
drivers/scsi/lpfc/lpfc_sli.c +0 -2
@@ -10700,7 +10700,6 @@ lpfc_sli4_abts_err_handler(struct lpfc_hba *phba,struct lpfc_nodelist *ndlp, struct sli4_wcqe_xri_aborted *axri) { - struct lpfc_vport *vport; uint32_t ext_status = 0;if (!ndlp) {
@@ -10710,7 +10709,6 @@ lpfc_sli4_abts_err_handler(struct lpfc_hba *phba,return ; } - vport = ndlp->vport; lpfc_printf_log(phba, KERN_WARNING, LOG_SLI, "3116 Port generated FCP XRI ABORT event on " "vpi %d rpi %d xri x%x status 0x%x parameter x%x\n",
Signature · 1 line
2.26.2
Martin K. Petersen
AppliedJames,
Quoted 2 lines
Remove vport variable that is assigned but not used in
lpfc_sli4_abts_err_handler().
Applied to 5.11/scsi-staging, thanks!
Signature · 1 line
Martin K. Petersen Oracle Linux Engineering
Martin K. Petersen
AppliedQuoted 2 lines · James Smart
Remove vport variable that is assigned but not used in
lpfc_sli4_abts_err_handler().
Applied to 5.11/scsi-queue, thanks!
[1/1] scsi: lpfc: Fix variable 'vport' set but not used in lpfc_sli4_abts_err_handler()
https://git.kernel.org/mkp/scsi/c/6998ff4e2161
Signature · 1 line
Martin K. Petersen Oracle Linux Engineering