diff options
author | 2003-07-08 00:17:18 +0000 | |
---|---|---|
committer | 2003-07-08 00:17:18 +0000 | |
commit | a8fc952c35c7ed7e6f9fe17ad7c324f6d32954f5 (patch) | |
tree | ec9456c353cd785ce6709a1c7c1c2a3a6ff67b58 /lib/libpthread | |
parent | Give some feedback during the pthread_cond_timedwait test (diff) | |
download | wireguard-openbsd-a8fc952c35c7ed7e6f9fe17ad7c324f6d32954f5.tar.xz wireguard-openbsd-a8fc952c35c7ed7e6f9fe17ad7c324f6d32954f5.zip |
remove variable never read
Diffstat (limited to 'lib/libpthread')
-rw-r--r-- | lib/libpthread/uthread/pthread_private.h | 3 | ||||
-rw-r--r-- | lib/libpthread/uthread/uthread_create.c | 3 | ||||
-rw-r--r-- | lib/libpthread/uthread/uthread_sigmask.c | 5 |
3 files changed, 3 insertions, 8 deletions
diff --git a/lib/libpthread/uthread/pthread_private.h b/lib/libpthread/uthread/pthread_private.h index f5950ee9367..57162bcf744 100644 --- a/lib/libpthread/uthread/pthread_private.h +++ b/lib/libpthread/uthread/pthread_private.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pthread_private.h,v 1.46 2003/05/13 16:49:32 marc Exp $ */ +/* $OpenBSD: pthread_private.h,v 1.47 2003/07/08 00:17:18 marc Exp $ */ /* * Copyright (c) 1995-1998 John Birrell <jb@cimlogic.com.au>. * All rights reserved. @@ -624,7 +624,6 @@ struct pthread { */ sigset_t sigmask; sigset_t sigpend; - int sigmask_seqno; /* Thread state: */ enum pthread_state state; diff --git a/lib/libpthread/uthread/uthread_create.c b/lib/libpthread/uthread/uthread_create.c index c61c1b9d515..3cfbd3d6f32 100644 --- a/lib/libpthread/uthread/uthread_create.c +++ b/lib/libpthread/uthread/uthread_create.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uthread_create.c,v 1.18 2001/12/31 18:23:15 fgsch Exp $ */ +/* $OpenBSD: uthread_create.c,v 1.19 2003/07/08 00:17:19 marc Exp $ */ /* * Copyright (c) 1995-1998 John Birrell <jb@cimlogic.com.au> * All rights reserved. @@ -112,7 +112,6 @@ pthread_create(pthread_t * thread, const pthread_attr_t * attr, /* Initialise the thread for signals: */ new_thread->sigmask = curthread->sigmask; - new_thread->sigmask_seqno = 0; /* * Set up new stack frame so that it 'returns' to diff --git a/lib/libpthread/uthread/uthread_sigmask.c b/lib/libpthread/uthread/uthread_sigmask.c index 0b2e54e0652..04634a8855d 100644 --- a/lib/libpthread/uthread/uthread_sigmask.c +++ b/lib/libpthread/uthread/uthread_sigmask.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uthread_sigmask.c,v 1.6 2003/01/27 22:22:30 marc Exp $ */ +/* $OpenBSD: uthread_sigmask.c,v 1.7 2003/07/08 00:17:19 marc Exp $ */ /* * Copyright (c) 1997 John Birrell <jb@cimlogic.com.au>. * All rights reserved. @@ -80,9 +80,6 @@ pthread_sigmask(int how, const sigset_t *set, sigset_t *oset) break; } - /* Increment the sequence number: */ - curthread->sigmask_seqno++; - /* * Check if there are pending signals for the running * thread or process that aren't blocked: |