svn commit: r364640 - stable/12/sys/netinet

Michael Tuexen tuexen at FreeBSD.org
Mon Aug 24 09:11:38 UTC 2020


Author: tuexen
Date: Mon Aug 24 09:11:37 2020
New Revision: 364640
URL: https://svnweb.freebsd.org/changeset/base/364640

Log:
  MFC r363309:
  Remove code which is not needed.

Modified:
  stable/12/sys/netinet/sctp_pcb.c
Directory Properties:
  stable/12/   (props changed)

Modified: stable/12/sys/netinet/sctp_pcb.c
==============================================================================
--- stable/12/sys/netinet/sctp_pcb.c	Mon Aug 24 09:10:19 2020	(r364639)
+++ stable/12/sys/netinet/sctp_pcb.c	Mon Aug 24 09:11:37 2020	(r364640)
@@ -3593,9 +3593,6 @@ sctp_inpcb_free(struct sctp_inpcb *inp, int immediate,
 	 */
 	if (from != SCTP_CALLED_FROM_INPKILL_TIMER) {
 		(void)SCTP_OS_TIMER_STOP_DRAIN(&inp->sctp_ep.signature_change.timer);
-	} else {
-		/* Probably un-needed */
-		(void)SCTP_OS_TIMER_STOP(&inp->sctp_ep.signature_change.timer);
 	}
 
 #ifdef SCTP_LOG_CLOSING


More information about the svn-src-all mailing list