diff options
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/prio_tree.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/prio_tree.c b/lib/prio_tree.c index ccfd850b0dec..423eba80478b 100644 --- a/lib/prio_tree.c +++ b/lib/prio_tree.c | |||
| @@ -151,7 +151,6 @@ struct prio_tree_node *prio_tree_replace(struct prio_tree_root *root, | |||
| 151 | * We can reduce root->index_bits here. However, it is complex | 151 | * We can reduce root->index_bits here. However, it is complex |
| 152 | * and does not help much to improve performance (IMO). | 152 | * and does not help much to improve performance (IMO). |
| 153 | */ | 153 | */ |
| 154 | node->parent = node; | ||
| 155 | root->prio_tree_node = node; | 154 | root->prio_tree_node = node; |
| 156 | } else { | 155 | } else { |
| 157 | node->parent = old->parent; | 156 | node->parent = old->parent; |
