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


Groups > linux.kernel > #1231346

[PATCH] clock: Remove unneeded return statement from void

From Guillaume Gomez <guillaume1.gomez@gmail.com>
Newsgroups linux.kernel
Subject [PATCH] clock: Remove unneeded return statement from void
Date 2015-09-23 13:20 +0200
Message-ID <qbQfD-2vf-9@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


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/

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

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

csiph-web