diff options
author | Ted Unangst <tedu@cvs.openbsd.org> | 2003-02-21 20:52:07 +0000 |
---|---|---|
committer | Ted Unangst <tedu@cvs.openbsd.org> | 2003-02-21 20:52:07 +0000 |
commit | d61770ecc047b10ce72248da2e88c1b0942f1e9b (patch) | |
tree | 9150fb598680b720f3dda428a4302ecc28fc956c /sys | |
parent | cafdad0eb58411bef775664d9625e812488db183 (diff) |
remove useless assignment
ok jason@
Diffstat (limited to 'sys')
-rw-r--r-- | sys/netinet/tcp_timer.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; } |