svn commit: r364561 - stable/12/sys/netinet
Michael Tuexen
tuexen at FreeBSD.org
Sun Aug 23 22:02:20 UTC 2020
Author: tuexen
Date: Sun Aug 23 22:02:19 2020
New Revision: 364561
URL: https://svnweb.freebsd.org/changeset/base/364561
Log:
MFC r359162:
Remove a set, but unused variable.
Modified:
stable/12/sys/netinet/sctp_usrreq.c
Directory Properties:
stable/12/ (props changed)
Modified: stable/12/sys/netinet/sctp_usrreq.c
==============================================================================
--- stable/12/sys/netinet/sctp_usrreq.c Sun Aug 23 21:59:23 2020 (r364560)
+++ stable/12/sys/netinet/sctp_usrreq.c Sun Aug 23 22:02:19 2020 (r364561)
@@ -769,14 +769,6 @@ sctp_disconnect(struct socket *so)
* we will allow user data to be sent first
* and move to SHUTDOWN-PENDING
*/
- struct sctp_nets *netp;
-
- if (stcb->asoc.alternate) {
- netp = stcb->asoc.alternate;
- } else {
- netp = stcb->asoc.primary_destination;
- }
-
SCTP_ADD_SUBSTATE(stcb, SCTP_STATE_SHUTDOWN_PENDING);
sctp_timer_start(SCTP_TIMER_TYPE_SHUTDOWNGUARD, stcb->sctp_ep, stcb, NULL);
if ((*asoc->ss_functions.sctp_ss_is_user_msgs_incomplete) (stcb, asoc)) {
More information about the svn-src-all
mailing list