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;
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to