summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/gallium/auxiliary/os/os_thread.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/gallium/auxiliary/os/os_thread.h b/src/gallium/auxiliary/os/os_thread.h
index 2aad3e2d728..22921231c5d 100644
--- a/src/gallium/auxiliary/os/os_thread.h
+++ b/src/gallium/auxiliary/os/os_thread.h
@@ -68,11 +68,6 @@ static inline thrd_t pipe_thread_create(int (*routine)(void *), void *param)
return thread;
}
-static inline int pipe_thread_destroy( thrd_t thread )
-{
- return thrd_detach( thread );
-}
-
static inline void pipe_thread_setname( const char *name )
{
#if defined(HAVE_PTHREAD)