kernel: centralize new thread priority check
This was being done inconsistently in arch_new_thread(), just move to the core kernel. Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
This commit is contained in:
parent
c0df99cc77
commit
1f6f977f05
8 changed files with 2 additions and 10 deletions
|
@ -18,7 +18,6 @@ void arch_new_thread(struct k_thread *thread, k_thread_stack_t *stack,
|
|||
int priority, unsigned int options)
|
||||
{
|
||||
char *stack_memory = Z_THREAD_STACK_BUFFER(stack);
|
||||
Z_ASSERT_VALID_PRIO(priority, thread_func);
|
||||
|
||||
struct __esf *stack_init;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue