Make tsd cleanup functions optional, remove noop cleanup functions.
This commit is contained in:
@@ -404,13 +404,6 @@ tcache_cleanup(tsd_t *tsd)
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
tcache_enabled_cleanup(tsd_t *tsd)
|
||||
{
|
||||
|
||||
/* Do nothing. */
|
||||
}
|
||||
|
||||
void
|
||||
tcache_stats_merge(tsdn_t *tsdn, tcache_t *tcache, arena_t *arena)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user