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


Groups > linux.kernel > #1231345

[PATCH] kernel: Remove unneeded return statement from void function

From Guillaume Gomez <guillaume1.gomez@gmail.com>
Newsgroups linux.kernel
Subject [PATCH] kernel: Remove unneeded return statement from void function
Date 2015-09-23 13:20 +0200
Message-ID <qbQfD-2vf-5@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>
---
 include/linux/timekeeping.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/linux/timekeeping.h b/include/linux/timekeeping.h
index ba0ae09..8f776cc 100644
--- a/include/linux/timekeeping.h
+++ b/include/linux/timekeeping.h
@@ -83,7 +83,7 @@ static inline struct timespec get_monotonic_coarse(void)

 static inline void getboottime(struct timespec *ts)
 {
-    return getboottime64(ts);
+    getboottime64(ts);
 }
 #else
 /**
-- 
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] kernel: Remove unneeded return statement from void function Guillaume Gomez <guillaume1.gomez@gmail.com> - 2015-09-23 13:20 +0200

csiph-web