tracing/osnoise: No need for schedule_hrtimeout range
Subsystems (2)
PATCH 1/1 tracing/osnoise: No need for schedule_hrtimeout range
No slack time is being passed, just use schedule_hrtimeout().
Signed-off-by Davidlohr Bueso <[email protected]>
---
Found while looking at schedule_hrtimeout users.
kernel/trace/trace_osnoise.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/trace/trace_osnoise.c +1 -1
@@ -1540,7 +1540,7 @@ static void osnoise_sleep(void) wake_time =ktime_add_us (ktime_get (), interval);__set_current_state (TASK_INTERRUPTIBLE ); -while (schedule_hrtimeout_range (&wake_time,0 ,HRTIMER_MODE_ABS )) { +while (schedule_hrtimeout (&wake_time,HRTIMER_MODE_ABS )) {if (kthread_should_stop ())break ; }
Signature · 1 line
2.39.0
Quoted 3 lines · Davidlohr Bueso
No slack time is being passed, just use
schedule_hrtimeout().Signed-off-by Davidlohr Bueso <[email protected]>
Thanks!
-- Daniel