From d61770ecc047b10ce72248da2e88c1b0942f1e9b Mon Sep 17 00:00:00 2001 From: Ted Unangst Date: Fri, 21 Feb 2003 20:52:07 +0000 Subject: remove useless assignment ok jason@ --- sys/netinet/tcp_timer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys') diff --git a/sys/netinet/tcp_timer.c b/sys/netinet/tcp_timer.c index c2650c82485..07d65c9f83a 100644 --- a/sys/netinet/tcp_timer.c +++ b/sys/netinet/tcp_timer.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tcp_timer.c,v 1.31 2002/11/06 01:52:08 kjc Exp $ */ +/* $OpenBSD: tcp_timer.c,v 1.32 2003/02/21 20:52:06 tedu Exp $ */ /* $NetBSD: tcp_timer.c,v 1.14 1996/02/13 23:44:09 christos Exp $ */ /* @@ -204,7 +204,7 @@ tcp_timer_rexmt(void *arg) if (++tp->t_rxtshift > TCP_MAXRXTSHIFT) { tp->t_rxtshift = TCP_MAXRXTSHIFT; tcpstat.tcps_timeoutdrop++; - tp = tcp_drop(tp, tp->t_softerror ? + (void)tcp_drop(tp, tp->t_softerror ? tp->t_softerror : ETIMEDOUT); goto out; } -- cgit v1.2.3