summaryrefslogtreecommitdiffstats
path: root/cddl
diff options
context:
space:
mode:
authormarkj <markj@FreeBSD.org>2018-02-01 14:36:59 +0000
committermarkj <markj@FreeBSD.org>2018-02-01 14:36:59 +0000
commit81ddeefe4c36ce5627ed64b129825edbb991053b (patch)
tree6ae79be812b44628747704f9d92d82788c0c1c94 /cddl
parent766cc344bc90c078fe6ffc6c094b0aff655fad9f (diff)
downloadFreeBSD-src-81ddeefe4c36ce5627ed64b129825edbb991053b.zip
FreeBSD-src-81ddeefe4c36ce5627ed64b129825edbb991053b.tar.gz
MFC r328398:
Remove uneeded parentheses.
Diffstat (limited to 'cddl')
-rw-r--r--cddl/lib/libdtrace/tcp.d2
1 files changed, 1 insertions, 1 deletions
diff --git a/cddl/lib/libdtrace/tcp.d b/cddl/lib/libdtrace/tcp.d
index c5592d2..3dbc172 100644
--- a/cddl/lib/libdtrace/tcp.d
+++ b/cddl/lib/libdtrace/tcp.d
@@ -260,7 +260,7 @@ translator tcpinfoh_t < struct tcphdr *p > {
tcp_ack = p == NULL ? -1 : p->th_ack;
tcp_offset = p == NULL ? -1 : (p->th_off >> 2);
tcp_flags = p == NULL ? 0 : p->th_flags;
- tcp_window = p == NULL ? 0 : (p->th_win);
+ tcp_window = p == NULL ? 0 : p->th_win;
tcp_checksum = p == NULL ? 0 : ntohs(p->th_sum);
tcp_urgent = p == NULL ? 0 : p->th_urp;
tcp_hdr = (struct tcphdr *)p;
OpenPOWER on IntegriCloud