aboutsummaryrefslogtreecommitdiffstats
path: root/src/chschd.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/chschd.c')
-rw-r--r--src/chschd.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/chschd.c b/src/chschd.c
index 2ac2a9e1d..b6fd624e0 100644
--- a/src/chschd.c
+++ b/src/chschd.c
@@ -39,9 +39,6 @@ void chSchInit(void) {
#ifdef CH_USE_ROUNDROBIN
rlist.r_preempt = CH_TIME_QUANTUM;
#endif
-#ifdef CH_USE_SYSTEMTIME
- rlist.r_stime = 0;
-#endif
}
/**
@@ -94,7 +91,6 @@ void chSchGoSleepS(tstate_t newstate) {
chSysSwitchI(otp, currp);
}
-#ifdef CH_USE_VIRTUAL_TIMERS
/*
* Timeout wakeup callback.
*/
@@ -130,7 +126,6 @@ msg_t chSchGoSleepTimeoutS(tstate_t newstate, systime_t time) {
chVTResetI(&vt);
return currp->p_rdymsg;
}
-#endif /* CH_USE_VIRTUAL_TIMERS */
/**
* Wakes up a thread.