From d1ff6ac11883cb96428f9a21659377bae35b4d8f Mon Sep 17 00:00:00 2001 From: jb Date: Sun, 31 May 1998 23:47:06 +0000 Subject: Remove some stale code. Pointed out by: Amancio --- lib/libkse/thread/thr_spec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/libkse/thread/thr_spec.c') diff --git a/lib/libkse/thread/thr_spec.c b/lib/libkse/thread/thr_spec.c index dc493dd..cf60f38 100644 --- a/lib/libkse/thread/thr_spec.c +++ b/lib/libkse/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.1