posix: pthread: remove duplicate assignment
The `thread` pointer variable is already assigned within the loop above. Signed-off-by: Chris Friedt <cfriedt@meta.com>
This commit is contained in:
parent
909bb77fa5
commit
ad5c3a1ae3
|
@ -181,7 +181,6 @@ int pthread_create(pthread_t *newthread, const pthread_attr_t *attr,
|
|||
|
||||
prio = posix_to_zephyr_priority(attr->priority, attr->schedpolicy);
|
||||
|
||||
thread = &posix_thread_pool[pthread_num];
|
||||
/*
|
||||
* Ignore return value, as we know that Zephyr implementation
|
||||
* cannot fail.
|
||||
|
|
Loading…
Reference in a new issue