From 12b561a27d67a865ce3daf0c8bba8cc8df5f0397 Mon Sep 17 00:00:00 2001 From: TuxSH Date: Thu, 15 Jun 2017 01:57:57 +0200 Subject: [PATCH] Remove unused variables --- k11_extension/source/synchronization.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/k11_extension/source/synchronization.c b/k11_extension/source/synchronization.c index 6fde998..4b0811e 100644 --- a/k11_extension/source/synchronization.c +++ b/k11_extension/source/synchronization.c @@ -97,7 +97,6 @@ void rosalinaRescheduleThread(KThread *thread, bool lock) void rosalinaLockThread(KThread *thread) { KThread *syncThread = synchronizationMutex->owner; - s8 *eotc = (s8 *)thread->endOfThreadContext; if(syncThread == NULL || syncThread != thread) rosalinaRescheduleThread(thread, true); @@ -151,7 +150,6 @@ void rosalinaUnlockAllThreads(void) for(KLinkedListNode *node = threadList->list.nodes.first; node != (KLinkedListNode *)&threadList->list.nodes; node = node->next) { KThread *thread = (KThread *)node->key; - s8 *eotc = (s8 *)thread->endOfThreadContext; if((thread->schedulingMask & 0xF) == 2) // thread is terminating continue;