Remove not used variable from POSIX thread code
This commit is contained in:
@@ -4,14 +4,13 @@
|
|||||||
|
|
||||||
static void *bh_thread_run(void *arg)
|
static void *bh_thread_run(void *arg)
|
||||||
{
|
{
|
||||||
bh_tls_t *tls;
|
|
||||||
bh_task_t *task;
|
bh_task_t *task;
|
||||||
|
|
||||||
/* Fetch thread data */
|
/* Fetch thread data */
|
||||||
task = (bh_task_t *)arg;
|
task = (bh_task_t *)arg;
|
||||||
|
|
||||||
/* Setup TLS */
|
/* Setup TLS */
|
||||||
tls = bh_tls_fetch();
|
bh_tls_fetch();
|
||||||
|
|
||||||
/* Do the task, mark as done, and if required free it */
|
/* Do the task, mark as done, and if required free it */
|
||||||
task->func(task->data);
|
task->func(task->data);
|
||||||
@@ -401,4 +400,4 @@ bh_tls_t *bh_tls_fetch(void)
|
|||||||
|
|
||||||
/* Return TLS */
|
/* Return TLS */
|
||||||
return tls;
|
return tls;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user