aboutsummaryrefslogtreecommitdiffstats
path: root/src/chschd.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/chschd.c')
-rw-r--r--src/chschd.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/chschd.c b/src/chschd.c
index 65a1fd360..c93b6aab7 100644
--- a/src/chschd.c
+++ b/src/chschd.c
@@ -183,9 +183,7 @@ BOOL chSchRescRequiredI(void) {
*/
void chSchTimerHandlerI(void) {
- if (rlist.r_preempt)
- rlist.r_preempt--;
-
+ rlist.r_preempt--;
#ifdef CH_USE_SYSTEMTIME
rlist.r_stime++;
#endif