Commit 6cca8319 authored by Alan Huang's avatar Alan Huang Committed by Kent Overstreet

bcachefs: Remove dead code in __build_ro_aux_tree

This logic is no longer useful since commit
3ce8b463 ("bcachefs: kill bset_tree->max_key"), so remove it.
Signed-off-by: default avatarAlan Huang <mmpgouride@gmail.com>
Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent 89ae9a04
......@@ -753,9 +753,6 @@ static noinline void __build_ro_aux_tree(struct btree *b, struct bset_tree *t)
EBUG_ON(tree_to_bkey(b, t, j) != k);
}
while (k != btree_bkey_last(b, t))
prev = k, k = bkey_p_next(k);
if (!bkey_pack_pos(bkey_to_packed(&min_key), b->data->min_key, b)) {
bkey_init(&min_key.k);
min_key.k.p = b->data->min_key;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment