kernel/arch: remove unused uk_task_ptr parameter from _new_thread()

Artifact from microkernel, for handling multiple pending tasks on
nanokernel objects.

Change-Id: I3c2959ea2b87f568736384e6534ce8e275f1098f
Signed-off-by: Benjamin Walsh <benjamin.walsh@windriver.com>
This commit is contained in:
Benjamin Walsh 2016-11-19 12:31:53 -05:00 committed by Anas Nashif
commit 8fcc7f69da
7 changed files with 9 additions and 19 deletions

View file

@ -81,7 +81,7 @@ static ALWAYS_INLINE void thread_monitor_init(struct tcs *tcs)
*/
void _new_thread(char *pStackMem, size_t stackSize,
void *uk_task_ptr, _thread_entry_t pEntry,
_thread_entry_t pEntry,
void *parameter1, void *parameter2, void *parameter3,
int priority, unsigned options)
{
@ -135,8 +135,6 @@ void _new_thread(char *pStackMem, size_t stackSize,
tcs->entry = (struct __thread_entry *)(pInitCtx);
#endif
ARG_UNUSED(uk_task_ptr);
tcs->callee_saved.psp = (uint32_t)pInitCtx;
tcs->arch.basepri = 0;