aboutsummaryrefslogtreecommitdiffstats
path: root/src/chthreads.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/chthreads.c')
-rw-r--r--src/chthreads.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/chthreads.c b/src/chthreads.c
index 14c507bb4..4b61fe964 100644
--- a/src/chthreads.c
+++ b/src/chthreads.c
@@ -48,9 +48,6 @@ Thread *init_thread(Thread *tp, tprio_t prio) {
#ifdef CH_USE_EVENTS
tp->p_epending = 0;
#endif
-#ifdef CH_USE_EXIT_EVENT
- chEvtInit(&tp->p_exitesource);
-#endif
THREAD_EXT_INIT(tp);
return tp;
}