Skip to content

Commit 0871140

Browse files
committed
[kernel][timer] remove wordy logs
1 parent a723014 commit 0871140

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

Diff for: src/timer.c

+1-11
Original file line numberDiff line numberDiff line change
@@ -526,7 +526,6 @@ static void _timer_check(rt_list_t *timer_list, struct rt_spinlock *lock)
526526
t->timeout_func(t->parameter);
527527

528528
RT_OBJECT_HOOK_CALL(rt_timer_exit_hook, (t));
529-
LOG_D("current tick: %d", current_tick);
530529

531530
level = rt_spin_lock_irqsave(lock);
532531

@@ -750,8 +749,6 @@ void rt_timer_check(void)
750749
{
751750
RT_ASSERT(rt_interrupt_get_nest() > 0);
752751

753-
LOG_D("timer check enter");
754-
755752
#ifdef RT_USING_SMP
756753
/* Running on core 0 only */
757754
if (rt_cpu_get_id() != 0)
@@ -760,8 +757,6 @@ void rt_timer_check(void)
760757
}
761758
#endif
762759
_timer_check(_timer_list, &_htimer_lock);
763-
764-
LOG_D("timer check leave");
765760
}
766761

767762
/**
@@ -823,12 +818,7 @@ static void _timer_thread_entry(void *parameter)
823818
}
824819
}
825820

826-
/* check software timer */
827-
LOG_D("software timer check enter");
828-
829-
_timer_check(_soft_timer_list, &_stimer_lock);
830-
831-
LOG_D("software timer check leave");
821+
_timer_check(_soft_timer_list, &_stimer_lock); /* check software timer */
832822
}
833823
}
834824
#endif /* RT_USING_TIMER_SOFT */

0 commit comments

Comments
 (0)