about summary refs log tree commit diff
path: root/linuxthreads/spinlock.c
diff options
context:
space:
mode:
Diffstat (limited to 'linuxthreads/spinlock.c')
-rw-r--r--linuxthreads/spinlock.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/linuxthreads/spinlock.c b/linuxthreads/spinlock.c
index 981d7a44c0..6e7eb12e57 100644
--- a/linuxthreads/spinlock.c
+++ b/linuxthreads/spinlock.c
@@ -82,8 +82,6 @@ void internal_function __pthread_lock(pthread_spinlock_t * lock,
   /* Put back any resumes we caught that don't belong to us. */
   while (spurious_wakeup_count--)
     restart(self);
-
-  return 0;
 }
 int __pthread_spin_lock(pthread_spinlock_t * lock)
 {