Remove stale get_slab
Everything seems to be using the `Metaslab::get_slab` form instead
This commit is contained in:
committed by
Nathaniel Wesley Filardo
parent
88150b497f
commit
d1b2522a10
@@ -13,11 +13,6 @@ namespace snmalloc
|
||||
using SlabList = CDLLNode<>;
|
||||
using SlabLink = CDLLNode<>;
|
||||
|
||||
SNMALLOC_FAST_PATH Slab* get_slab(SlabLink* sl)
|
||||
{
|
||||
return pointer_align_down<SLAB_SIZE, Slab>(sl);
|
||||
}
|
||||
|
||||
static_assert(
|
||||
sizeof(SlabLink) <= MIN_ALLOC_SIZE,
|
||||
"Need to be able to pack a SlabLink into any free small alloc");
|
||||
|
||||
Reference in New Issue
Block a user