In r362552, RB_SET_PARENT is defined, and use in parens in

RB_CLEAR_NODE.  But it is not an expression, and ought not to be
enclosed in parens.  Remove them.

Approved by:	markj
Differential Revision:	https://reviews.freebsd.org/D25421
This commit is contained in:
Doug Moore 2020-06-23 22:47:54 +00:00
parent 9407f25df2
commit 158c55a584
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=362562

View File

@ -60,7 +60,7 @@ RB_PROTOTYPE(linux_root, rb_node, __entry, panic_cmp);
#define RB_EMPTY_ROOT(root) RB_EMPTY((struct linux_root *)root)
#define RB_EMPTY_NODE(node) (RB_PARENT(node, __entry) == node)
#define RB_CLEAR_NODE(node) (RB_SET_PARENT(node, node, __entry))
#define RB_CLEAR_NODE(node) RB_SET_PARENT(node, node, __entry)
#define rb_insert_color(node, root) \
linux_root_RB_INSERT_COLOR((struct linux_root *)(root), (node))