From b0686b473d8c07e5bbdc1932d7d9b71bfccdf92e Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Wed, 22 Apr 2015 13:57:18 +0200 Subject: score: Delete _CORE_RWLock_Timeout() This function was identical to _Thread_queue_Timeout(). This makes _Thread_queue_Enqueue_with_handler() obsolete. --- cpukit/score/src/corerwlockobtainread.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'cpukit/score/src/corerwlockobtainread.c') diff --git a/cpukit/score/src/corerwlockobtainread.c b/cpukit/score/src/corerwlockobtainread.c index c118e2900f..f3851b4fd3 100644 --- a/cpukit/score/src/corerwlockobtainread.c +++ b/cpukit/score/src/corerwlockobtainread.c @@ -84,11 +84,10 @@ void _CORE_RWLock_Obtain_for_reading( executing->Wait.return_code = CORE_RWLOCK_SUCCESSFUL; _ISR_Enable( level ); - _Thread_queue_Enqueue_with_handler( + _Thread_queue_Enqueue( &the_rwlock->Wait_queue, executing, - timeout, - _CORE_RWLock_Timeout + timeout ); /* return to API level so it can dispatch and we block */ -- cgit v1.2.3