]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - gcc/gthr-posix.h
Merge basic-improvements-branch to trunk
[thirdparty/gcc.git] / gcc / gthr-posix.h
index 9149e645ceb6a334c89e1e9c49b02785f1f913bf..02f70aa9b32c73b2af093e96b5c168bd7d7feae0 100644 (file)
@@ -461,16 +461,6 @@ __gthread_key_create (__gthread_key_t *key, void (*dtor) (void *))
   return pthread_key_create (key, dtor);
 }
 
-static inline int
-__gthread_key_dtor (__gthread_key_t key, void *ptr)
-{
-  /* Just reset the key value to zero.  */
-  if (ptr)
-    return pthread_setspecific (key, 0);
-  else
-    return 0;
-}
-
 static inline int
 __gthread_key_delete (__gthread_key_t key)
 {