diff --git a/include/nuttx/tls.h b/include/nuttx/tls.h index b9e0a2bf925..dfcef94cb9a 100644 --- a/include/nuttx/tls.h +++ b/include/nuttx/tls.h @@ -79,10 +79,6 @@ extern "C" * TLS data indexes. */ -#if CONFIG_TLS_NELEM > 0 -typedef CODE void (*tls_dtor_t)(FAR void *); -#endif - typedef CODE void (*tls_dtor_t)(FAR void *); /* This structure encapsulates all variables associated with getopt(). */