bcachefs: Remove dead code in __build_ro_aux_tree
PATCH 1/1 bcachefs: Remove dead code in __build_ro_aux_tree
This logic is no longer useful since commit 3ce8b463e3e0 ("bcachefs: kill bset_tree->max_key"), so remove it.
Signed-off-by Alan Huang <[email protected]>
--- fs/bcachefs/bset.c | 3 --- 1 file changed, 3 deletions(-)
fs/bcachefs/bset.c +0 -3
@@ -754,9 +754,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;
Signature · 1 line
2.45.2