Skip to content

Commit

Permalink
sctp: make sctp_free_ifn() static
Browse files Browse the repository at this point in the history
It is not used outside of the file.
No functional change intended.

MFC after:	3 days
  • Loading branch information
tuexen committed Oct 10, 2024
1 parent fae4b97 commit e1a09d1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion sys/netinet/sctp_pcb.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)) {
Expand Down
1 change: 0 additions & 1 deletion sys/netinet/sctp_pcb.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e1a09d1

Please sign in to comment.