From 5d359b97bbee13fd309e9daa637ba001007e4a53 Mon Sep 17 00:00:00 2001 From: John Birrell Date: Sun, 31 May 1998 23:47:06 +0000 Subject: Remove some stale code. Pointed out by: Amancio --- lib/libpthread/thread/thr_spec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/libpthread/thread') diff --git a/lib/libpthread/thread/thr_spec.c b/lib/libpthread/thread/thr_spec.c index dc493dd74e691..cf60f381edcb4 100644 --- a/lib/libpthread/thread/thr_spec.c +++ b/lib/libpthread/thread/thr_spec.c @@ -146,7 +146,7 @@ pthread_setspecific(pthread_key_t key, const void *value) if ((pthread->specific_data) || (pthread->specific_data = pthread_key_allocate_data())) { - if ((key < PTHREAD_KEYS_MAX) && (key_table)) { + if (key < PTHREAD_KEYS_MAX) { /* Lock the key table entry: */ _spinlock(&key_table[key].access_lock); -- cgit v1.3