Author: sbruno
Date: Fri Jun  5 17:18:10 2015
New Revision: 284041
URL: https://svnweb.freebsd.org/changeset/base/284041

Log:
  Silence clang warning about extraneous parenthesis
  
  Verified that this exists upstream already:
  https://git.kernel.org/cgit/utils/dtc/dtc.git/tree/checks.c#n628
  
  Differential Revision:        https://reviews.freebsd.org/D913
  Reviewed by:  imp

Modified:
  head/contrib/dtc/checks.c

Modified: head/contrib/dtc/checks.c
==============================================================================
--- head/contrib/dtc/checks.c   Fri Jun  5 17:09:59 2015        (r284040)
+++ head/contrib/dtc/checks.c   Fri Jun  5 17:18:10 2015        (r284041)
@@ -624,11 +624,11 @@ static void check_avoid_default_addr_siz
        if (!reg && !ranges)
                return;
 
-       if ((node->parent->addr_cells == -1))
+       if (node->parent->addr_cells == -1)
                FAIL(c, "Relying on default #address-cells value for %s",
                     node->fullpath);
 
-       if ((node->parent->size_cells == -1))
+       if (node->parent->size_cells == -1)
                FAIL(c, "Relying on default #size-cells value for %s",
                     node->fullpath);
 }
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to