aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/routingtable.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/routingtable.c b/src/routingtable.c
index f9c3eff..ce94a99 100644
--- a/src/routingtable.c
+++ b/src/routingtable.c
@@ -175,8 +175,7 @@ static inline bool node_placement(struct routing_table_node __rcu *trie, const u
}
node = rcu_dereference_protected(choose_node(parent, key), lockdep_is_held(lock));
}
- if (rnode)
- *rnode = parent;
+ *rnode = parent;
return exact;
}