aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/lpfc/lpfc_init.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_init.c')
-rw-r--r--drivers/scsi/lpfc/lpfc_init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/lpfc/lpfc_init.c b/drivers/scsi/lpfc/lpfc_init.c
index dc0fd2e36de1..5f013f1cdead 100644
--- a/drivers/scsi/lpfc/lpfc_init.c
+++ b/drivers/scsi/lpfc/lpfc_init.c
@@ -1196,7 +1196,7 @@ lpfc_cleanup(struct lpfc_hba * phba)
1196 1196
1197 list_for_each_entry_safe(ndlp, next_ndlp, &phba->fc_unused_list, 1197 list_for_each_entry_safe(ndlp, next_ndlp, &phba->fc_unused_list,
1198 nlp_listp) { 1198 nlp_listp) {
1199 lpfc_nlp_list(phba, ndlp, NLP_NO_LIST); 1199 lpfc_drop_node(phba, ndlp);
1200 } 1200 }
1201 1201
1202 list_for_each_entry_safe(ndlp, next_ndlp, &phba->fc_plogi_list, 1202 list_for_each_entry_safe(ndlp, next_ndlp, &phba->fc_plogi_list,