linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] clocksource: Remove outdated comments
@ 2014-01-23  7:12 Yijing Wang
  0 siblings, 0 replies; only message in thread
From: Yijing Wang @ 2014-01-23  7:12 UTC (permalink / raw)
  To: John Stultz, Thomas Gleixner
  Cc: linux-mips, Daniel Lezcano, Kevin Hilman, linux, Sekhar Nori,
	Paul Mackerras, H. Peter Anvin, Yijing Wang, Daniel Walker,
	Hans-Christian Egtvedt, Jonas Bonn, Kukjin Kim, Russell King,
	Richard Weinberger, x86, Tony Lindgren, Ingo Molnar,
	linux-arm-msm, David Brown, Haavard Skinnemoen, Mike Frysinger,
	user-mode-linux-devel, Nicolas Ferre, Jeff Dike, Barry Song,
	linux-samsung-soc, user-mode-linux-user, linux-omap,
	linux-arm-kernel, davinci-linux-open-source, Michal Simek,
	Jim Cromie, microblaze-uclinux, Hanjun Guo, linux-kernel,
	Ralf Baechle, Tony Prisk, Bryan Huntsman, uclinux-dist-devel,
	linuxppc-dev

clocksource_register() and __clocksource_register_scale()
always return 0, so the comment is just pointless, it's
outdated, remove it.

Signed-off-by: Yijing Wang <wangyijing@huawei.com>
---
 kernel/time/clocksource.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/kernel/time/clocksource.c b/kernel/time/clocksource.c
index ba3e502..9951575 100644
--- a/kernel/time/clocksource.c
+++ b/kernel/time/clocksource.c
@@ -779,8 +779,6 @@ EXPORT_SYMBOL_GPL(__clocksource_updatefreq_scale);
  * @scale:	Scale factor multiplied against freq to get clocksource hz
  * @freq:	clocksource frequency (cycles per second) divided by scale
  *
- * Returns -EBUSY if registration fails, zero otherwise.
- *
  * This *SHOULD NOT* be called directly! Please use the
  * clocksource_register_hz() or clocksource_register_khz helper functions.
  */
@@ -805,7 +803,6 @@ EXPORT_SYMBOL_GPL(__clocksource_register_scale);
  * clocksource_register - Used to install new clocksources
  * @cs:		clocksource to be registered
  *
- * Returns -EBUSY if registration fails, zero otherwise.
  */
 int clocksource_register(struct clocksource *cs)
 {
-- 
1.7.1

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2014-01-23  7:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-23  7:12 [PATCH 1/2] clocksource: Remove outdated comments Yijing Wang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).