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:
Andrew Boie 2020-04-23 11:17:14 -07:00 committed by Anas Nashif
commit 62eb7d99dc
11 changed files with 20 additions and 36 deletions

View file

@ -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);