]> www.infradead.org Git - users/jedix/linux-maple.git/commit
scsi: lpfc: Delete NLP_TARGET_REMOVE flag due to obsolete usage
authorJustin Tee <justin.tee@broadcom.com>
Thu, 12 Dec 2024 23:33:02 +0000 (15:33 -0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 2 Jan 2025 20:01:22 +0000 (15:01 -0500)
commitbb33b07ac6e3fede9b54cd8bf83a66dbdc6afe89
tree4bb5132d5616debe73573e446113e58196787d2b
parent17cb5e986e7aec3f4f599636e0775a4133690b4d
scsi: lpfc: Delete NLP_TARGET_REMOVE flag due to obsolete usage

Remove the NLP_TARGET_REMOVE flag as its usage is obsolete.  The current
framework is to rely on the lpfc_dev_loss_tmo_callbk from upper layer to
notify final ndlp kref release.  There's no need to specifically set
NLP_EVT_DEVICE_RM when a LOGO completes.  The dev_loss_tmo_callbk is
responsible for the final kref put.

Signed-off-by: Justin Tee <justin.tee@broadcom.com>
Link: https://lore.kernel.org/r/20241212233309.71356-4-justintee8345@gmail.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/lpfc/lpfc_disc.h
drivers/scsi/lpfc/lpfc_els.c
drivers/scsi/lpfc/lpfc_nportdisc.c