aboutsummaryrefslogtreecommitdiff
path: root/cddl/lib
diff options
context:
space:
mode:
authorMark Johnston <markj@FreeBSD.org>2018-01-25 15:31:56 +0000
committerMark Johnston <markj@FreeBSD.org>2018-01-25 15:31:56 +0000
commit3ddcfe1e46cebd4485e406183197df6f0264f080 (patch)
treedd76fc8117fc72506cf130eeef27123a8e452742 /cddl/lib
parent5bb40331f62b26547b04da89ba5350f70e5a2eff (diff)
downloadsrc-3ddcfe1e46cebd4485e406183197df6f0264f080.tar.gz
src-3ddcfe1e46cebd4485e406183197df6f0264f080.zip
Remove uneeded parentheses.
MFC after: 1 week
Notes
Notes: svn path=/head/; revision=328398
Diffstat (limited to 'cddl/lib')
-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 c5592d26396f..3dbc17298346 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;