aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_hbadisc.c')
-rw-r--r--drivers/scsi/lpfc/lpfc_hbadisc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/scsi/lpfc/lpfc_hbadisc.c b/drivers/scsi/lpfc/lpfc_hbadisc.c
index d3668aa555d5..be901f6db6d3 100644
--- a/drivers/scsi/lpfc/lpfc_hbadisc.c
+++ b/drivers/scsi/lpfc/lpfc_hbadisc.c
@@ -4777,7 +4777,8 @@ lpfc_nlp_remove(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp)
4777 lpfc_cancel_retry_delay_tmo(vport, ndlp); 4777 lpfc_cancel_retry_delay_tmo(vport, ndlp);
4778 if ((ndlp->nlp_flag & NLP_DEFER_RM) && 4778 if ((ndlp->nlp_flag & NLP_DEFER_RM) &&
4779 !(ndlp->nlp_flag & NLP_REG_LOGIN_SEND) && 4779 !(ndlp->nlp_flag & NLP_REG_LOGIN_SEND) &&
4780 !(ndlp->nlp_flag & NLP_RPI_REGISTERED)) { 4780 !(ndlp->nlp_flag & NLP_RPI_REGISTERED) &&
4781 phba->sli_rev != LPFC_SLI_REV4) {
4781 /* For this case we need to cleanup the default rpi 4782 /* For this case we need to cleanup the default rpi
4782 * allocated by the firmware. 4783 * allocated by the firmware.
4783 */ 4784 */