]> git.ipfire.org Git - thirdparty/linux.git/commit
scsi: lpfc: Update outdated comment for renamed lpfc_freenode()
authorKexin Sun <kexinsun@smail.nju.edu.cn>
Sat, 21 Mar 2026 10:59:09 +0000 (18:59 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 27 Mar 2026 20:49:04 +0000 (16:49 -0400)
commit3d1a36afa49da89c414e991e4d497e8dce2c1d02
treec7763e01384b4f11916e99ec7a53e6203a33365e
parent0019a3a5756b9030970c31338a1f1d82c045a4b1
scsi: lpfc: Update outdated comment for renamed lpfc_freenode()

The function lpfc_freenode() was renamed to lpfc_cleanup_node() by
commit 685f0bf7afe0 ("[SCSI] lpfc 8.1.12 : Collapse discovery lists to a
single node list"), and commit a70e63eee1c1 ("scsi: lpfc: Fix NPIV
Fabric Node reference counting") later removed the lpfc_unreg_rpi() call
from lpfc_cleanup_node().

Remove the now-inaccurate "called from lpfc_freenode()" sentence and
reflow the remaining comment text for lpfc_unreg_rpi().

Assisted-by: unnamed:deepseek-v3.2 coccinelle
Signed-off-by: Kexin Sun <kexinsun@smail.nju.edu.cn>
Link: https://patch.msgid.link/20260321105909.7804-1-kexinsun@smail.nju.edu.cn
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/lpfc/lpfc_hbadisc.c