svn commit: r323763 - head/sys/netinet

Michael Tuexen tuexen at FreeBSD.org
Tue Sep 19 15:00:20 UTC 2017


Author: tuexen
Date: Tue Sep 19 15:00:19 2017
New Revision: 323763
URL: https://svnweb.freebsd.org/changeset/base/323763

Log:
  Remove a no longer used variable.
  
  Reported by:	Felix Weinrank
  MFC after:	1 week

Modified:
  head/sys/netinet/sctp_indata.c

Modified: head/sys/netinet/sctp_indata.c
==============================================================================
--- head/sys/netinet/sctp_indata.c	Tue Sep 19 12:43:47 2017	(r323762)
+++ head/sys/netinet/sctp_indata.c	Tue Sep 19 15:00:19 2017	(r323763)
@@ -4213,8 +4213,6 @@ sctp_express_handle_sack(struct sctp_tcb *stcb, uint32
 again:
 	j = 0;
 	TAILQ_FOREACH(net, &asoc->nets, sctp_next) {
-		int to_ticks;
-
 		if (win_probe_recovery && (net->window_probe)) {
 			win_probe_recovered = 1;
 			/*
@@ -4229,11 +4227,6 @@ again:
 					break;
 				}
 			}
-		}
-		if (net->RTO == 0) {
-			to_ticks = MSEC_TO_TICKS(stcb->asoc.initial_rto);
-		} else {
-			to_ticks = MSEC_TO_TICKS(net->RTO);
 		}
 		if (net->flight_size) {
 			j++;


More information about the svn-src-head mailing list