aboutsummaryrefslogtreecommitdiffstats
path: root/src/chthreads.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/chthreads.c')
-rw-r--r--src/chthreads.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/chthreads.c b/src/chthreads.c
index 28d969e46..dc1a6f58c 100644
--- a/src/chthreads.c
+++ b/src/chthreads.c
@@ -28,9 +28,7 @@
* Initializes a thread structure.
*/
Thread *init_thread(Thread *tp, tprio_t prio) {
- static tid_t nextid = 0;
- tp->p_tid = nextid++;
tp->p_flags = P_MEM_MODE_STATIC;
tp->p_prio = prio;
tp->p_state = PRSUSPENDED;