svn commit: r363309 - head/sys/netinet

Michael Tuexen tuexen at FreeBSD.org
Sat Jul 18 13:10:03 UTC 2020


Author: tuexen
Date: Sat Jul 18 13:10:02 2020
New Revision: 363309
URL: https://svnweb.freebsd.org/changeset/base/363309

Log:
  Remove code which is not needed.
  
  MFC after:		1 week

Modified:
  head/sys/netinet/sctp_pcb.c

Modified: head/sys/netinet/sctp_pcb.c
==============================================================================
--- head/sys/netinet/sctp_pcb.c	Sat Jul 18 12:43:11 2020	(r363308)
+++ head/sys/netinet/sctp_pcb.c	Sat Jul 18 13:10:02 2020	(r363309)
@@ -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-head mailing list