sctp: make sctp_free_ifn() static

It is not used outside of the file.
No functional change intended.

(cherry picked from commit e1a09d1e9df30347c279604191a04ce2ef20bf0c)
This commit is contained in:
Michael Tuexen 2024-10-10 10:42:35 +02:00
parent d3459fe7f7
commit ebdee305b1
2 changed files with 1 additions and 2 deletions

View file

@ -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)) {

View file

@ -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