We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f8e9cb8 commit 6a11ec4Copy full SHA for 6a11ec4
client/src/unifyfs.c
@@ -202,20 +202,6 @@ static size_t get_superblock_size(unifyfs_client* client)
202
return sb_size;
203
}
204
205
-static inline
206
-char* next_page_align(char* ptr)
207
-{
208
- size_t pgsz = get_page_size();
209
- intptr_t orig = (intptr_t) ptr;
210
- intptr_t aligned = orig;
211
- intptr_t offset = orig % pgsz;
212
- if (offset) {
213
- aligned += (pgsz - offset);
214
- }
215
- LOGDBG("orig=0x%p, next-page-aligned=0x%p", ptr, (char*)aligned);
216
- return (char*) aligned;
217
-}
218
-
219
/* initialize our global pointers into the given superblock */
220
static void init_superblock_pointers(unifyfs_client* client,
221
void* superblock)
0 commit comments