From: tip-bot for Guillaume Gomez <tipbot@zytor.com>
To: linux-tip-commits@vger.kernel.org
Cc: tglx@linutronix.de, hpa@zytor.com, linux-kernel@vger.kernel.org,
guillaume1.gomez@gmail.com, john.stultz@linaro.org,
mingo@kernel.org
Subject: [tip:timers/core] clocksource: Remove return statement from void functions
Date: Sun, 11 Oct 2015 13:15:33 -0700 [thread overview]
Message-ID: <tip-cfed432d7f4114e16e0163bcfe65e96f0c304493@git.kernel.org> (raw)
In-Reply-To: <CAAOQCfSDgmqSWDBsetau+yF8x0+DagCF_pfFw0p5xH_BKkKEog@mail.gmail.com>
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) { }
prev parent reply other threads:[~2015-10-11 20:15 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-23 11:19 [PATCH] clock: Remove unneeded return statement from void Guillaume Gomez
2015-10-11 20:09 ` [tip:timers/core] clock: Remove return statement from void functions tip-bot for Guillaume Gomez
2015-10-11 20:14 ` [PATCH] clock: Remove unneeded return statement from void Thomas Gleixner
2015-10-11 20:15 ` tip-bot for Guillaume Gomez [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=tip-cfed432d7f4114e16e0163bcfe65e96f0c304493@git.kernel.org \
--to=tipbot@zytor.com \
--cc=guillaume1.gomez@gmail.com \
--cc=hpa@zytor.com \
--cc=john.stultz@linaro.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-tip-commits@vger.kernel.org \
--cc=mingo@kernel.org \
--cc=tglx@linutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.