arch_interface: remove unnecessary params
arch_new_thread() passes along the thread priority and option flags, but these are already initialized in thread->base and can be accessed there if needed. Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
This commit is contained in:
parent
79728eccca
commit
62eb7d99dc
11 changed files with 20 additions and 36 deletions
|
@ -14,8 +14,7 @@ void z_thread_entry_wrapper(k_thread_entry_t thread,
|
|||
|
||||
void arch_new_thread(struct k_thread *thread, k_thread_stack_t *stack,
|
||||
size_t stack_size, k_thread_entry_t thread_func,
|
||||
void *arg1, void *arg2, void *arg3,
|
||||
int priority, unsigned int options)
|
||||
void *arg1, void *arg2, void *arg3)
|
||||
{
|
||||
char *stack_memory = Z_THREAD_STACK_BUFFER(stack);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue