From: Timothy Arceri Date: Mon, 6 Mar 2017 00:58:28 +0000 (+1100) Subject: gallium/util: remove unused pipe_thread_destroy() X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=60a2c2507d4df92fcc56d9772a427ef9638757f2;p=mesa.git gallium/util: remove unused pipe_thread_destroy() Reviewed-by: Plamena Manolova Reviewed-by: Marek Olšák --- 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)