Commit af7846e4 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] do_timer_gettime() cleanup

- Make it static

- It is larger and has two callsites: uninline it.
parent 8e1b379f
...@@ -574,7 +574,7 @@ static struct k_itimer * lock_timer(timer_t timer_id, unsigned long *flags) ...@@ -574,7 +574,7 @@ static struct k_itimer * lock_timer(timer_t timer_id, unsigned long *flags)
* it is the same as a requeue pending timer WRT to what we should * it is the same as a requeue pending timer WRT to what we should
* report. * report.
*/ */
inline void static void
do_timer_gettime(struct k_itimer *timr, struct itimerspec *cur_setting) do_timer_gettime(struct k_itimer *timr, struct itimerspec *cur_setting)
{ {
unsigned long expires; unsigned long expires;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment