svn commit: r328398 - head/cddl/lib/libdtrace

Mark Johnston markj at FreeBSD.org
Thu Jan 25 15:31:57 UTC 2018


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;


More information about the svn-src-all mailing list