Miscellaneous cleanups.

This commit is contained in:
Jason Evans
2014-10-30 23:18:45 -07:00
parent d33f834591
commit cfc5706f69
3 changed files with 10 additions and 10 deletions

View File

@@ -361,10 +361,9 @@ prof_tctx_get(const void *ptr)
assert(ptr != NULL);
chunk = (arena_chunk_t *)CHUNK_ADDR2BASE(ptr);
if (likely(chunk != ptr)) {
/* Region. */
if (likely(chunk != ptr))
ret = arena_prof_tctx_get(ptr);
} else
else
ret = huge_prof_tctx_get(ptr);
return (ret);
@@ -379,10 +378,9 @@ prof_tctx_set(const void *ptr, prof_tctx_t *tctx)
assert(ptr != NULL);
chunk = (arena_chunk_t *)CHUNK_ADDR2BASE(ptr);
if (likely(chunk != ptr)) {
/* Region. */
if (likely(chunk != ptr))
arena_prof_tctx_set(ptr, tctx);
} else
else
huge_prof_tctx_set(ptr, tctx);
}