summaryrefslogtreecommitdiffstats
path: root/kernel/time
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2015-09-23 13:19:19 +0200
committerThomas Gleixner <tglx@linutronix.de>2015-10-11 22:13:46 +0200
commitcfed432d7f4114e16e0163bcfe65e96f0c304493 (patch)
treef0ade21ffa5df2303ac27a9a0a57128b70f0cd8f /kernel/time
parent3ed769bdb2a2484fd7f9f7f3047413053aacbe21 (diff)
downloadlinux-cfed432d7f4114e16e0163bcfe65e96f0c304493.tar.gz
linux-cfed432d7f4114e16e0163bcfe65e96f0c304493.tar.bz2
linux-cfed432d7f4114e16e0163bcfe65e96f0c304493.zip
clocksource: Remove return statement from void functions
Signed-off-by: Guillaume Gomez <guillaume1.gomez@gmail.com> Cc: John Stultz <john.stultz@linaro.org> Link: http://lkml.kernel.org/r/CAAOQCfSDgmqSWDBsetau%2ByF8x0%2BDagCF_pfFw0p5xH_BKkKEog@mail.gmail.com Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'kernel/time')
-rw-r--r--kernel/time/clocksource.c5
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)
*/
static void clocksource_select(void)
{
- return __clocksource_select(false);
+ __clocksource_select(false);
}
static void clocksource_select_fallback(void)
{
- return __clocksource_select(true);
+ __clocksource_select(true);
}
#else /* !CONFIG_ARCH_USES_GETTIMEOFFSET */
-
static inline void clocksource_select(void) { }
static inline void clocksource_select_fallback(void) { }