gallium/util: remove unused pipe_thread_destroy()
authorTimothy Arceri <tarceri@itsqueeze.com>
Mon, 6 Mar 2017 00:58:28 +0000 (11:58 +1100)
committerTimothy Arceri <tarceri@itsqueeze.com>
Mon, 6 Mar 2017 22:12:16 +0000 (09:12 +1100)
Reviewed-by: Plamena Manolova <plamena.manolova@intel.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/auxiliary/os/os_thread.h

index 2aad3e2d728f7e943584b467c7a814b300e4fb62..22921231c5d16b2c6d12f03723866770dd92e028 100644 (file)
@@ -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)