diff options
author | rwatson <rwatson@FreeBSD.org> | 2004-12-23 01:25:59 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2004-12-23 01:25:59 +0000 |
commit | 44b000390e898085a88159e0c1f5cea2bd97986f (patch) | |
tree | b7a7a1bda3928590f7e918b837101f1ec3d6c75a /sys/netinet/tcp_timer.c | |
parent | f55e651b2579de6eaec7f478f290b629bc305bc6 (diff) | |
download | FreeBSD-src-44b000390e898085a88159e0c1f5cea2bd97986f.zip FreeBSD-src-44b000390e898085a88159e0c1f5cea2bd97986f.tar.gz |
Remove the now unused tcp_canceltimers() function. tcpcb timers are
now stopped as part of tcp_discardcb().
MFC after: 2 weeks
Diffstat (limited to 'sys/netinet/tcp_timer.c')
-rw-r--r-- | sys/netinet/tcp_timer.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/sys/netinet/tcp_timer.c b/sys/netinet/tcp_timer.c index 80fd03c..0a84259 100644 --- a/sys/netinet/tcp_timer.c +++ b/sys/netinet/tcp_timer.c @@ -137,21 +137,6 @@ tcp_slowtimo() INP_INFO_WUNLOCK(&tcbinfo); } -/* - * Cancel all timers for TCP tp. - * - * XXXRW: This appears to be unused. - */ -void -tcp_canceltimers(tp) - struct tcpcb *tp; -{ - callout_stop(tp->tt_2msl); - callout_stop(tp->tt_persist); - callout_stop(tp->tt_keep); - callout_stop(tp->tt_rexmt); -} - int tcp_syn_backoff[TCP_MAXRXTSHIFT + 1] = { 1, 1, 1, 1, 1, 2, 4, 8, 16, 32, 64, 64, 64 }; |