Make tsd cleanup functions optional, remove noop cleanup functions.

This commit is contained in:
Jason Evans 2016-06-02 11:11:35 -07:00
parent e28b43a739
commit 7be2ebc23f
11 changed files with 23 additions and 81 deletions

View file

@ -644,20 +644,6 @@ arena_choose_hard(tsd_t *tsd, bool internal)
return (ret);
}
void
thread_allocated_cleanup(tsd_t *tsd)
{
/* Do nothing. */
}
void
thread_deallocated_cleanup(tsd_t *tsd)
{
/* Do nothing. */
}
void
iarena_cleanup(tsd_t *tsd)
{
@ -693,20 +679,6 @@ arenas_tdata_cleanup(tsd_t *tsd)
}
}
void
narenas_tdata_cleanup(tsd_t *tsd)
{
/* Do nothing. */
}
void
arenas_tdata_bypass_cleanup(tsd_t *tsd)
{
/* Do nothing. */
}
static void
stats_print_atexit(void)
{