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


Groups > linux.kernel > #1231346 > unrolled thread

[PATCH] clock: Remove unneeded return statement from void

Started byGuillaume Gomez <guillaume1.gomez@gmail.com>
First post2015-09-23 13:20 +0200
Last post2015-09-23 13:20 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel


Contents

  [PATCH] clock: Remove unneeded return statement from void Guillaume Gomez <guillaume1.gomez@gmail.com> - 2015-09-23 13:20 +0200

#1231346 — [PATCH] clock: Remove unneeded return statement from void

FromGuillaume Gomez <guillaume1.gomez@gmail.com>
Date2015-09-23 13:20 +0200
Subject[PATCH] clock: Remove unneeded return statement from void
Message-ID<qbQfD-2vf-9@gated-at.bofh.it>
Signed-off-by: Guillaume Gomez <guillaume1.gomez@gmail.com>
---
 kernel/time/clocksource.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/kernel/time/clocksource.c b/kernel/time/clocksource.c
index 841b72f..5e83c38 100644
--- a/kernel/time/clocksource.c
+++ b/kernel/time/clocksource.c
@@ -595,12 +595,12 @@ 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 */
-- 
2.1.4
--
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