Date: Thu, 31 Oct 2024 14:01:14 GMT From: Michael Tuexen <tuexen@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Subject: git: ebdee305b160 - stable/14 - sctp: make sctp_free_ifn() static Message-ID: <202410311401.49VE1EmZ040871@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch stable/14 has been updated by tuexen: URL: https://cgit.FreeBSD.org/src/commit/?id=ebdee305b160223fd3f7f5357f649dedb8805fa7 commit ebdee305b160223fd3f7f5357f649dedb8805fa7 Author: Michael Tuexen <tuexen@FreeBSD.org> AuthorDate: 2024-10-10 08:42:35 +0000 Commit: Michael Tuexen <tuexen@FreeBSD.org> CommitDate: 2024-10-31 11:40:03 +0000 sctp: make sctp_free_ifn() static It is not used outside of the file. No functional change intended. (cherry picked from commit e1a09d1e9df30347c279604191a04ce2ef20bf0c) --- sys/netinet/sctp_pcb.c | 2 +- sys/netinet/sctp_pcb.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/sys/netinet/sctp_pcb.c b/sys/netinet/sctp_pcb.c index 2972b0a925d6..f89865456274 100644 --- a/sys/netinet/sctp_pcb.c +++ b/sys/netinet/sctp_pcb.c @@ -239,7 +239,7 @@ sctp_free_vrf(struct sctp_vrf *vrf) } } -void +static void sctp_free_ifn(struct sctp_ifn *sctp_ifnp) { if (SCTP_DECREMENT_AND_CHECK_REFCOUNT(&sctp_ifnp->refcount)) { diff --git a/sys/netinet/sctp_pcb.h b/sys/netinet/sctp_pcb.h index ade29fb3544d..ed6a1c34ccf7 100644 --- a/sys/netinet/sctp_pcb.h +++ b/sys/netinet/sctp_pcb.h @@ -508,7 +508,6 @@ sctp_add_addr_to_vrf(uint32_t vrfid, void sctp_update_ifn_mtu(uint32_t ifn_index, uint32_t mtu); -void sctp_free_ifn(struct sctp_ifn *sctp_ifnp); void sctp_free_ifa(struct sctp_ifa *sctp_ifap); void
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202410311401.49VE1EmZ040871>