diff --git a/client/src/unifyfs.c b/client/src/unifyfs.c index 385c0ba5..56f694cd 100644 --- a/client/src/unifyfs.c +++ b/client/src/unifyfs.c @@ -202,20 +202,6 @@ static size_t get_superblock_size(unifyfs_client* client) return sb_size; } -static inline -char* next_page_align(char* ptr) -{ - size_t pgsz = get_page_size(); - intptr_t orig = (intptr_t) ptr; - intptr_t aligned = orig; - intptr_t offset = orig % pgsz; - if (offset) { - aligned += (pgsz - offset); - } - LOGDBG("orig=0x%p, next-page-aligned=0x%p", ptr, (char*)aligned); - return (char*) aligned; -} - /* initialize our global pointers into the given superblock */ static void init_superblock_pointers(unifyfs_client* client, void* superblock)