diff options
-rw-r--r-- | kernel/time/posix-cpu-timers.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/time/posix-cpu-timers.c b/kernel/time/posix-cpu-timers.c index 1cafba860b08..39008d78927a 100644 --- a/kernel/time/posix-cpu-timers.c +++ b/kernel/time/posix-cpu-timers.c | |||
@@ -777,6 +777,7 @@ static void posix_cpu_timer_get(struct k_itimer *timer, struct itimerspec *itp) | |||
777 | timer->it.cpu.expires = 0; | 777 | timer->it.cpu.expires = 0; |
778 | sample_to_timespec(timer->it_clock, timer->it.cpu.expires, | 778 | sample_to_timespec(timer->it_clock, timer->it.cpu.expires, |
779 | &itp->it_value); | 779 | &itp->it_value); |
780 | return; | ||
780 | } else { | 781 | } else { |
781 | cpu_timer_sample_group(timer->it_clock, p, &now); | 782 | cpu_timer_sample_group(timer->it_clock, p, &now); |
782 | unlock_task_sighand(p, &flags); | 783 | unlock_task_sighand(p, &flags); |