diff --git a/kernel/time/hrtimer.c b/kernel/time/hrtimer.c index e437f1101776..1ed7a8a28dc3 100644 --- a/kernel/time/hrtimer.c +++ b/kernel/time/hrtimer.c @@ -1911,7 +1911,7 @@ long hrtimer_nanosleep(const struct timespec64 *rqtp, u64 slack; slack = current->timer_slack_ns; - if (dl_task(current) || rt_task(current)) + if (rt_task(current)) slack = 0; hrtimer_init_sleeper_on_stack(&t, clockid, mode, current);