Skip to content

Commit 05eb2b3

Browse files
xxhdx1985126cyx1231st
authored andcommitted
crimson/os/seastore/btree: remove unused methods
Signed-off-by: Xuehan Xu <[email protected]>
1 parent c7667ea commit 05eb2b3

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

src/crimson/os/seastore/btree/fixed_kv_btree.h

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -312,17 +312,6 @@ class FixedKVBtree {
312312
}
313313
return get_depth();
314314
}
315-
316-
depth_t check_merge() const {
317-
if (!leaf.node->below_min_capacity()) {
318-
return 0;
319-
}
320-
for (depth_t merge_from = 1; merge_from < get_depth(); ++merge_from) {
321-
if (!get_internal(merge_from + 1).node->below_min_capacity())
322-
return merge_from;
323-
}
324-
return get_depth();
325-
}
326315
};
327316

328317
FixedKVBtree(RootBlockRef &root_block) : root_block(root_block) {}

0 commit comments

Comments
 (0)