diff --git a/src/mem/metaslab.h b/src/mem/metaslab.h index d5c60c9..e358fc2 100644 --- a/src/mem/metaslab.h +++ b/src/mem/metaslab.h @@ -13,11 +13,6 @@ namespace snmalloc using SlabList = CDLLNode<>; using SlabLink = CDLLNode<>; - SNMALLOC_FAST_PATH Slab* get_slab(SlabLink* sl) - { - return pointer_align_down(sl); - } - static_assert( sizeof(SlabLink) <= MIN_ALLOC_SIZE, "Need to be able to pack a SlabLink into any free small alloc");