summaryrefslogtreecommitdiffstats
path: root/sys/netinet/tcp_output.c
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2009-06-16 19:00:48 +0000
committerjhb <jhb@FreeBSD.org>2009-06-16 19:00:48 +0000
commit8215fabe398381d54d1b83d00044a658e05a9342 (patch)
tree39fdea2811658f92677ec47e740a620680457e0e /sys/netinet/tcp_output.c
parent8869d432a2258b351ac462613e9dc2ff6fad6124 (diff)
downloadFreeBSD-src-8215fabe398381d54d1b83d00044a658e05a9342.zip
FreeBSD-src-8215fabe398381d54d1b83d00044a658e05a9342.tar.gz
Trim extra sets of ()'s.
Requested by: bde
Diffstat (limited to 'sys/netinet/tcp_output.c')
-rw-r--r--sys/netinet/tcp_output.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/tcp_output.c b/sys/netinet/tcp_output.c
index 3117fc3..35ba51c 100644
--- a/sys/netinet/tcp_output.c
+++ b/sys/netinet/tcp_output.c
@@ -172,7 +172,7 @@ tcp_output(struct tcpcb *tp)
* to send, then transmit; otherwise, investigate further.
*/
idle = (tp->t_flags & TF_LASTIDLE) || (tp->snd_max == tp->snd_una);
- if (idle && (ticks - tp->t_rcvtime) >= tp->t_rxtcur) {
+ if (idle && ticks - tp->t_rcvtime >= tp->t_rxtcur) {
/*
* We have been idle for "a while" and no acks are
* expected to clock out any data we send --
OpenPOWER on IntegriCloud