score: Use _Freechain_Push()

The nodes are never NULL.

Update #3959.
This commit is contained in:
Sebastian Huber
2020-08-31 17:30:17 +02:00
parent 354c2b50a3
commit 159db41166
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -275,7 +275,7 @@ failed:
}
#endif
_Freechain_Put(
_Freechain_Push(
&information->Thread_queue_heads.Free,
the_thread->Wait.spare_heads
);
+1 -1
View File
@@ -176,7 +176,7 @@ static void _Thread_Free( Thread_Control *the_thread )
#endif
#endif
_Freechain_Put(
_Freechain_Push(
&information->Thread_queue_heads.Free,
the_thread->Wait.spare_heads
);