sched/pthread/join: remove unused joininfo
remove unused joininfo, minor issue found from code reading Signed-off-by: chao an <anchao@lixiang.com>
This commit is contained in:
parent
836715a2d6
commit
68c21df444
@ -714,7 +714,6 @@ struct pthread_tcb_s
|
|||||||
|
|
||||||
pthread_trampoline_t trampoline; /* User-space pthread startup function */
|
pthread_trampoline_t trampoline; /* User-space pthread startup function */
|
||||||
pthread_addr_t arg; /* Startup argument */
|
pthread_addr_t arg; /* Startup argument */
|
||||||
FAR void *joininfo; /* Detach-able info to support join */
|
|
||||||
bool join_complete; /* Join was completed */
|
bool join_complete; /* Join was completed */
|
||||||
};
|
};
|
||||||
#endif /* !CONFIG_DISABLE_PTHREAD */
|
#endif /* !CONFIG_DISABLE_PTHREAD */
|
||||||
|
@ -82,8 +82,6 @@ int pthread_createjoininfo(FAR struct pthread_tcb_s *ptcb,
|
|||||||
|
|
||||||
/* Attach the join info to the TCB. */
|
/* Attach the join info to the TCB. */
|
||||||
|
|
||||||
ptcb->joininfo = (FAR void *)(*pjoin);
|
|
||||||
|
|
||||||
(*pjoin)->next = NULL;
|
(*pjoin)->next = NULL;
|
||||||
if (!group->tg_jointail)
|
if (!group->tg_jointail)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user