diff options
-rw-r--r-- | kernel/time/clocksource.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/kernel/time/clocksource.c b/kernel/time/clocksource.c index 174c594ff8ef..de0ad66f2b21 100644 --- a/kernel/time/clocksource.c +++ b/kernel/time/clocksource.c | |||
@@ -595,16 +595,15 @@ static void __clocksource_select(bool skipcur) | |||
595 | */ | 595 | */ |
596 | static void clocksource_select(void) | 596 | static void clocksource_select(void) |
597 | { | 597 | { |
598 | return __clocksource_select(false); | 598 | __clocksource_select(false); |
599 | } | 599 | } |
600 | 600 | ||
601 | static void clocksource_select_fallback(void) | 601 | static void clocksource_select_fallback(void) |
602 | { | 602 | { |
603 | return __clocksource_select(true); | 603 | __clocksource_select(true); |
604 | } | 604 | } |
605 | 605 | ||
606 | #else /* !CONFIG_ARCH_USES_GETTIMEOFFSET */ | 606 | #else /* !CONFIG_ARCH_USES_GETTIMEOFFSET */ |
607 | |||
608 | static inline void clocksource_select(void) { } | 607 | static inline void clocksource_select(void) { } |
609 | static inline void clocksource_select_fallback(void) { } | 608 | static inline void clocksource_select_fallback(void) { } |
610 | 609 | ||