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>
This commit is contained in:
Guillaume Gomez 2015-09-23 13:19:19 +02:00 committed by Thomas Gleixner
parent 3ed769bdb2
commit cfed432d7f

View 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) { }