malloc: Remove unused tcache_set_inactive

clang warns that this function is not used.

Reviewed-by: H.J. Lu <hjl.tools@gmail.com>
This commit is contained in:
Adhemerval Zanella 2025-10-28 14:08:11 -03:00
parent 602fdf5d69
commit f91abbde02
1 changed files with 0 additions and 7 deletions

View File

@ -3141,13 +3141,6 @@ tcache_enabled (void)
return (! tcache_inactive () && ! tcache_disabled ());
}
/* Sets the tcache to INACTIVE state. */
static __always_inline void
tcache_set_inactive (void)
{
tcache = (tcache_perthread_struct *) &__tcache_dummy.inactive;
}
/* Sets the tcache to DISABLED state. */
static __always_inline void
tcache_set_disabled (void)