about summary refs log tree commit diff
path: root/htl/pt-join.c
diff options
context:
space:
mode:
Diffstat (limited to 'htl/pt-join.c')
-rw-r--r--htl/pt-join.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/htl/pt-join.c b/htl/pt-join.c
index 203e649d5e..45268134d0 100644
--- a/htl/pt-join.c
+++ b/htl/pt-join.c
@@ -75,12 +75,6 @@ __pthread_join_common (pthread_t thread, void **status, int try,
       __pthread_dealloc (pthread);
       break;
 
-    case PTHREAD_TERMINATED:
-      /* Pretend THREAD wasn't there in the first place.  */
-      __pthread_mutex_unlock (&pthread->state_lock);
-      err = ESRCH;
-      break;
-
     default:
       /* Thou shalt not join non-joinable threads!  */
       __pthread_mutex_unlock (&pthread->state_lock);