Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Feb 2018 14:36:59 +0000 (UTC)
From:      Mark Johnston <markj@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r328661 - stable/11/cddl/lib/libdtrace
Message-ID:  <201802011436.w11EaxnH056673@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: markj
Date: Thu Feb  1 14:36:59 2018
New Revision: 328661
URL: https://svnweb.freebsd.org/changeset/base/328661

Log:
  MFC r328398:
  Remove uneeded parentheses.

Modified:
  stable/11/cddl/lib/libdtrace/tcp.d
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/cddl/lib/libdtrace/tcp.d
==============================================================================
--- stable/11/cddl/lib/libdtrace/tcp.d	Thu Feb  1 14:36:24 2018	(r328660)
+++ stable/11/cddl/lib/libdtrace/tcp.d	Thu Feb  1 14:36:59 2018	(r328661)
@@ -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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201802011436.w11EaxnH056673>