summaryrefslogtreecommitdiff
path: root/lib/libpthread/pthread.c
diff options
context:
space:
mode:
authoryamt <yamt@NetBSD.org>2007-12-04 16:08:28 +0000
committeryamt <yamt@NetBSD.org>2007-12-04 16:08:28 +0000
commitfc51c23a2ddf7989a55eda865007e2bc7e83e3d2 (patch)
tree717cafd812e3c7bc0dc523655dbe43d5be6275c1 /lib/libpthread/pthread.c
parent83caeda725236fc9757b724ce4f787abe9611e04 (diff)
remove unnecessary assignments.
Diffstat (limited to 'lib/libpthread/pthread.c')
-rw-r--r--lib/libpthread/pthread.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libpthread/pthread.c b/lib/libpthread/pthread.c
index 0f404b916c1..c0cda627224 100644
--- a/lib/libpthread/pthread.c
+++ b/lib/libpthread/pthread.c
@@ -1,4 +1,4 @@
-/* $NetBSD: pthread.c,v 1.91 2007/12/01 01:07:34 ad Exp $ */
+/* $NetBSD: pthread.c,v 1.92 2007/12/04 16:08:28 yamt Exp $ */
/*-
* Copyright (c) 2001, 2002, 2003, 2006, 2007 The NetBSD Foundation, Inc.
@@ -37,7 +37,7 @@
*/
#include <sys/cdefs.h>
-__RCSID("$NetBSD: pthread.c,v 1.91 2007/12/01 01:07:34 ad Exp $");
+__RCSID("$NetBSD: pthread.c,v 1.92 2007/12/04 16:08:28 yamt Exp $");
#define __EXPOSE_STACK 1
@@ -1125,7 +1125,7 @@ pthread__unpark_all(pthread_t self, pthread_spin_t *lock,
wakeobj = queue;
- for (;; n = 0) {
+ for (;;) {
/*
* Pull waiters from the queue and add to this
* thread's waiters list.