|
@@ -1793,8 +1793,6 @@ void fib_table_flush_external(struct fib_table *tb)
|
|
|
if (hlist_empty(&n->leaf)) {
|
|
|
put_child_root(pn, n->key, NULL);
|
|
|
node_free(n);
|
|
|
- } else {
|
|
|
- leaf_pull_suffix(pn, n);
|
|
|
}
|
|
|
}
|
|
|
}
|
|
@@ -1864,8 +1862,6 @@ int fib_table_flush(struct fib_table *tb)
|
|
|
if (hlist_empty(&n->leaf)) {
|
|
|
put_child_root(pn, n->key, NULL);
|
|
|
node_free(n);
|
|
|
- } else {
|
|
|
- leaf_pull_suffix(pn, n);
|
|
|
}
|
|
|
}
|
|
|
|