mirror of git://sourceware.org/git/glibc.git
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:
parent
602fdf5d69
commit
f91abbde02
|
|
@ -3141,13 +3141,6 @@ tcache_enabled (void)
|
||||||
return (! tcache_inactive () && ! tcache_disabled ());
|
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. */
|
/* Sets the tcache to DISABLED state. */
|
||||||
static __always_inline void
|
static __always_inline void
|
||||||
tcache_set_disabled (void)
|
tcache_set_disabled (void)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue