From f037bba0a221cc89081567e29853426c0da49ecf Mon Sep 17 00:00:00 2001 From: Nathaniel Filardo Date: Thu, 1 Apr 2021 00:39:33 +0100 Subject: [PATCH] SP: remove pal_zero(void*, size_t) Now that everything's over on `CapPtr`, this can go --- src/pal/pal.h | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/pal/pal.h b/src/pal/pal.h index 03d12c6..bcd9293 100644 --- a/src/pal/pal.h +++ b/src/pal/pal.h @@ -109,13 +109,6 @@ namespace snmalloc PAL::template zero(p.unsafe_capptr, sz); } - // TODO: Remove once CapPtr<>s plumbed everywhere they need to be - template - static SNMALLOC_FAST_PATH void pal_zero(void* p, size_t sz) - { - PAL::template zero(p, sz); - } - static_assert( bits::is_pow2(OS_PAGE_SIZE), "OS_PAGE_SIZE must be a power of two"); static_assert(