git: c7587f7a3f8d - main - sctp: cleanup
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 08 Aug 2023 10:43:07 UTC
The branch main has been updated by tuexen: URL: https://cgit.FreeBSD.org/src/commit/?id=c7587f7a3f8ddcc8dd209c9cff7b9ec3bf353dec commit c7587f7a3f8ddcc8dd209c9cff7b9ec3bf353dec Author: Michael Tuexen <tuexen@FreeBSD.org> AuthorDate: 2023-08-08 10:40:51 +0000 Commit: Michael Tuexen <tuexen@FreeBSD.org> CommitDate: 2023-08-08 10:40:51 +0000 sctp: cleanup No functional change intended. MFC after: 1 week --- sys/netinet6/sctp6_usrreq.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/sys/netinet6/sctp6_usrreq.c b/sys/netinet6/sctp6_usrreq.c index 4e8bfaa191eb..a105b2897c6c 100644 --- a/sys/netinet6/sctp6_usrreq.c +++ b/sys/netinet6/sctp6_usrreq.c @@ -632,13 +632,6 @@ sctp6_close(struct socket *so) /* This could be made common with sctp_detach() since they are identical */ -static -int -sctp6_disconnect(struct socket *so) -{ - return (sctp_disconnect(so)); -} - int sctp_sendm(struct socket *so, int flags, struct mbuf *m, struct sockaddr *addr, struct mbuf *control, struct thread *p); @@ -1184,7 +1177,7 @@ sctp6_getpeeraddr(struct socket *so, struct sockaddr **nam) .pr_detach = sctp6_close, \ .pr_sopoll = sopoll_generic, \ .pr_flush = sctp_flush, \ - .pr_disconnect = sctp6_disconnect, \ + .pr_disconnect = sctp_disconnect, \ .pr_listen = sctp_listen, \ .pr_peeraddr = sctp6_getpeeraddr, \ .pr_send = sctp6_send, \