mirror of
https://github.com/torvalds/linux.git
synced 2025-12-07 20:06:24 +00:00
Staging: lustre: interval_tree: Remove multiple assignments
Remove multiple assignments by factorizing them. Fix checkpatch CHECK: multiple assignments should be avoided Signed-off-by: Shivani Bhardwaj <shivanib134@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
316bd5e085
commit
7b318b411c
@@ -294,7 +294,8 @@ struct interval_node *interval_insert(struct interval_node *node,
|
||||
/* link node into the tree */
|
||||
node->in_parent = parent;
|
||||
node->in_color = INTERVAL_RED;
|
||||
node->in_left = node->in_right = NULL;
|
||||
node->in_left = NULL;
|
||||
node->in_right = NULL;
|
||||
*p = node;
|
||||
|
||||
interval_insert_color(node, root);
|
||||
|
||||
Reference in New Issue
Block a user