diff options
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_init.c')
-rw-r--r-- | drivers/scsi/lpfc/lpfc_init.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/scsi/lpfc/lpfc_init.c b/drivers/scsi/lpfc/lpfc_init.c index b9d553c2ac4d..93fd09daca87 100644 --- a/drivers/scsi/lpfc/lpfc_init.c +++ b/drivers/scsi/lpfc/lpfc_init.c | |||
@@ -1580,14 +1580,6 @@ lpfc_cleanup(struct lpfc_vport *vport) | |||
1580 | lpfc_disc_state_machine(vport, ndlp, NULL, | 1580 | lpfc_disc_state_machine(vport, ndlp, NULL, |
1581 | NLP_EVT_DEVICE_RM); | 1581 | NLP_EVT_DEVICE_RM); |
1582 | 1582 | ||
1583 | /* nlp_type zero is not defined, nlp_flag zero also not defined, | ||
1584 | * nlp_state is unused, this happens when | ||
1585 | * an initiator has logged | ||
1586 | * into us so cleanup this ndlp. | ||
1587 | */ | ||
1588 | if ((ndlp->nlp_type == 0) && (ndlp->nlp_flag == 0) && | ||
1589 | (ndlp->nlp_state == 0)) | ||
1590 | lpfc_nlp_put(ndlp); | ||
1591 | } | 1583 | } |
1592 | 1584 | ||
1593 | /* At this point, ALL ndlp's should be gone | 1585 | /* At this point, ALL ndlp's should be gone |