Web lists-archives.com

[tip:timers/urgent] timekeeping: Eliminate the stale declaration of ktime_get_raw_and_real_ts64()




Commit-ID:  8a7a8e1eab929eb3a5b735a788a23b9731139046
Gitweb:     https://git.kernel.org/tip/8a7a8e1eab929eb3a5b735a788a23b9731139046
Author:     Dou Liyang <douly.fnst@xxxxxxxxxxxxxx>
AuthorDate: Mon, 13 Nov 2017 13:49:04 +0800
Committer:  Thomas Gleixner <tglx@xxxxxxxxxxxxx>
CommitDate: Mon, 13 Nov 2017 17:35:27 +0100

timekeeping: Eliminate the stale declaration of ktime_get_raw_and_real_ts64()

Commit ba26621e63ce got rid of ktime_get_raw_and_real_ts64(), but left its
declaration behind.

Remove it.

Fixes: ba26621e63ce ("time: Remove duplicated code in ktime_get_raw_and_real()")
Signed-off-by: Dou Liyang <douly.fnst@xxxxxxxxxxxxxx>
Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
Cc: Christopher S. Hall <christopher.s.hall@xxxxxxxxx>
Cc: joelaf@xxxxxxxxxx
Cc: arnd@xxxxxxxx
Cc: gregkh@xxxxxxxxxxxxxxxxxxx
Cc: john.stultz@xxxxxxxxxx
Cc: deepa.kernel@xxxxxxxxx
Cc: stable@xxxxxxxxxxxxxxx
Link: https://lkml.kernel.org/r/1510552144-20831-1-git-send-email-douly.fnst@xxxxxxxxxxxxxx

---
 include/linux/timekeeping.h | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/include/linux/timekeeping.h b/include/linux/timekeeping.h
index 0021575..51293e1 100644
--- a/include/linux/timekeeping.h
+++ b/include/linux/timekeeping.h
@@ -273,12 +273,6 @@ extern bool timekeeping_rtc_skipresume(void);
 extern void timekeeping_inject_sleeptime64(struct timespec64 *delta);
 
 /*
- * PPS accessor
- */
-extern void ktime_get_raw_and_real_ts64(struct timespec64 *ts_raw,
-				        struct timespec64 *ts_real);
-
-/*
  * struct system_time_snapshot - simultaneous raw/real time capture with
  *	counter value
  * @cycles:	Clocksource counter value to produce the system times