diff options
Diffstat (limited to 'cpukit/posix/src/keysetspecific.c')
-rw-r--r-- | cpukit/posix/src/keysetspecific.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/cpukit/posix/src/keysetspecific.c b/cpukit/posix/src/keysetspecific.c index 8e4b3a43ca..427fff3d03 100644 --- a/cpukit/posix/src/keysetspecific.c +++ b/cpukit/posix/src/keysetspecific.c @@ -38,7 +38,6 @@ int pthread_setspecific( Objects_Locations location; POSIX_Keys_Key_value_pair *value_pair_ptr; RBTree_Node *p; - POSIX_Keys_Key_value_pair search_node; Thread_Control *executing; the_key = _POSIX_Keys_Get( key, &location ); @@ -46,7 +45,7 @@ int pthread_setspecific( case OBJECTS_LOCAL: executing = _Thread_Executing; - p = _POSIX_Keys_Find( key, executing, &search_node ); + p = _POSIX_Keys_Find( key, executing ); if ( p != NULL ) { value_pair_ptr = POSIX_KEYS_RBTREE_NODE_TO_KEY_VALUE_PAIR( p ); value_pair_ptr->value = RTEMS_DECONST( void *, value ); |