From 60a2c2507d4df92fcc56d9772a427ef9638757f2 Mon Sep 17 00:00:00 2001 From: Timothy Arceri Date: Mon, 6 Mar 2017 11:58:28 +1100 Subject: [PATCH] gallium/util: remove unused pipe_thread_destroy() MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Reviewed-by: Plamena Manolova Reviewed-by: Marek Olšák --- src/gallium/auxiliary/os/os_thread.h | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/gallium/auxiliary/os/os_thread.h b/src/gallium/auxiliary/os/os_thread.h index 2aad3e2..2292123 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) -- 2.7.4