Remove not used variable from POSIX thread code

This commit is contained in:
2024-06-21 23:14:54 +03:00
parent 87b34d57be
commit a99724e934

View File

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