]> git.proxmox.com Git - mirror_frr.git/blobdiff - lib/openbsd-tree.c
*: Remove parenthesis on return for constants
[mirror_frr.git] / lib / openbsd-tree.c
index ddcc59fa8f5920d0e832a400c24128c90c46639a..98d2e155e38af38dceabd690aa673c550fdd63bb 100644 (file)
@@ -431,7 +431,7 @@ void *_rb_insert(const struct rb_type *t, struct rbt_tree *rbt, void *elm)
 
        rbe_insert_color(t, rbt, rbe);
 
-       return (NULL);
+       return NULL;
 }
 
 /* Finds the node with the same key as elm */
@@ -453,7 +453,7 @@ void *_rb_find(const struct rb_type *t, const struct rbt_tree *rbt,
                        return (node);
        }
 
-       return (NULL);
+       return NULL;
 }
 
 /* Finds the first node greater than or equal to the search key */