Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1244212 > unrolled thread

[tip:timers/core] clocksource: Remove return statement from void functions

Started bytip-bot for Guillaume Gomez <tipbot@zytor.com>
First post2015-10-11 22:20 +0200
Last post2015-10-11 22:20 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [tip:timers/core] clocksource:   Remove return statement from void functions tip-bot for Guillaume Gomez <tipbot@zytor.com> - 2015-10-11 22:20 +0200

#1244212 — [tip:timers/core] clocksource: Remove return statement from void functions

Fromtip-bot for Guillaume Gomez <tipbot@zytor.com>
Date2015-10-11 22:20 +0200
Subject[tip:timers/core] clocksource: Remove return statement from void functions
Message-ID<qivg6-267-3@gated-at.bofh.it>
Commit-ID:  cfed432d7f4114e16e0163bcfe65e96f0c304493
Gitweb:     http://git.kernel.org/tip/cfed432d7f4114e16e0163bcfe65e96f0c304493
Author:     Guillaume Gomez <guillaume1.gomez@gmail.com>
AuthorDate: Wed, 23 Sep 2015 13:19:19 +0200
Committer:  Thomas Gleixner <tglx@linutronix.de>
CommitDate: Sun, 11 Oct 2015 22:13:46 +0200

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>
---
 kernel/time/clocksource.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/kernel/time/clocksource.c b/kernel/time/clocksource.c
index 174c594..de0ad66 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) { }
 
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web