projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
185d17e
)
scsi: lpfc: Fix variable 'vport' set but not used in lpfc_sli4_abts_err_handler()
author
James Smart
<james.smart@broadcom.com>
Thu, 19 Nov 2020 20:34:07 +0000
(12:34 -0800)
committer
Martin K. Petersen
<martin.petersen@oracle.com>
Fri, 20 Nov 2020 03:22:28 +0000
(22:22 -0500)
Remove vport variable that is assigned but not used in
lpfc_sli4_abts_err_handler().
Link:
https://lore.kernel.org/r/20201119203407.121913-1-james.smart@broadcom.com
Fixes:
e7dab164a9aa
("scsi: lpfc: Fix scheduling call while in softirq context in lpfc_unreg_rpi")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: James Smart <james.smart@broadcom.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/lpfc/lpfc_sli.c
patch
|
blob
|
history
diff --git
a/drivers/scsi/lpfc/lpfc_sli.c
b/drivers/scsi/lpfc/lpfc_sli.c
index
62218e4
..
95caad7
100644
(file)
--- a/
drivers/scsi/lpfc/lpfc_sli.c
+++ b/
drivers/scsi/lpfc/lpfc_sli.c
@@
-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",