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)
{
bh_tls_t *tls;
bh_task_t *task;
/* Fetch thread data */
task = (bh_task_t *)arg;
/* Setup TLS */
tls = bh_tls_fetch();
bh_tls_fetch();
/* Do the task, mark as done, and if required free it */
task->func(task->data);