]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
clocksource: Remove return statement from void functions
authorGuillaume Gomez <guillaume1.gomez@gmail.com>
Wed, 23 Sep 2015 11:19:19 +0000 (13:19 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Sun, 11 Oct 2015 20:13:46 +0000 (22:13 +0200)
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>
kernel/time/clocksource.c

index 174c594ff8ef9a63f1c16a7bea1bbe465844248c..de0ad66f2b21e15e2b86dbbc678a53cd05406891 100644 (file)
@@ -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) { }