Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Jan 2018 15:31:56 +0000 (UTC)
From:      Mark Johnston <markj@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r328398 - head/cddl/lib/libdtrace
Message-ID:  <201801251531.w0PFVu8f014112@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: markj
Date: Thu Jan 25 15:31:56 2018
New Revision: 328398
URL: https://svnweb.freebsd.org/changeset/base/328398

Log:
  Remove uneeded parentheses.
  
  MFC after:	1 week

Modified:
  head/cddl/lib/libdtrace/tcp.d

Modified: head/cddl/lib/libdtrace/tcp.d
==============================================================================
--- head/cddl/lib/libdtrace/tcp.d	Thu Jan 25 15:28:43 2018	(r328397)
+++ head/cddl/lib/libdtrace/tcp.d	Thu Jan 25 15:31:56 2018	(r328398)
@@ -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?201801251531.w0PFVu8f014112>