* [PATCH] timekeeping: Eliminate the useless declaration of ktime_get_raw_and_real_ts64()
@ 2017-11-13 5:49 Dou Liyang
2017-11-13 16:39 ` [tip:timers/urgent] timekeeping: Eliminate the stale " tip-bot for Dou Liyang
2017-11-15 14:42 ` [PATCH] timekeeping: Eliminate the useless " Arnd Bergmann
0 siblings, 2 replies; 3+ messages in thread
From: Dou Liyang @ 2017-11-13 5:49 UTC (permalink / raw)
To: linux-kernel
Cc: tglx, mingo, hpa, john.stultz, deepa.kernel, pombredanne, gregkh,
arnd, joelaf, Dou Liyang
Commit:
ba26621e63ce ("time: Remove duplicated code in ktime_get_raw_and_real()")
... got rid of ktime_get_raw_and_real_ts64(), but left its declaration
behind.
Remove it.
Signed-off-by: Dou Liyang <douly.fnst@cn.fujitsu.com>
---
include/linux/timekeeping.h | 6 ------
1 file changed, 6 deletions(-)
diff --git a/include/linux/timekeeping.h b/include/linux/timekeeping.h
index c198ab4..b17bcce 100644
--- a/include/linux/timekeeping.h
+++ b/include/linux/timekeeping.h
@@ -143,12 +143,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
--
2.5.5
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [tip:timers/urgent] timekeeping: Eliminate the stale declaration of ktime_get_raw_and_real_ts64()
2017-11-13 5:49 [PATCH] timekeeping: Eliminate the useless declaration of ktime_get_raw_and_real_ts64() Dou Liyang
@ 2017-11-13 16:39 ` tip-bot for Dou Liyang
2017-11-15 14:42 ` [PATCH] timekeeping: Eliminate the useless " Arnd Bergmann
1 sibling, 0 replies; 3+ messages in thread
From: tip-bot for Dou Liyang @ 2017-11-13 16:39 UTC (permalink / raw)
To: linux-tip-commits
Cc: hpa, mingo, christopher.s.hall, tglx, douly.fnst, linux-kernel
Commit-ID: 8a7a8e1eab929eb3a5b735a788a23b9731139046
Gitweb: https://git.kernel.org/tip/8a7a8e1eab929eb3a5b735a788a23b9731139046
Author: Dou Liyang <douly.fnst@cn.fujitsu.com>
AuthorDate: Mon, 13 Nov 2017 13:49:04 +0800
Committer: Thomas Gleixner <tglx@linutronix.de>
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@cn.fujitsu.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Christopher S. Hall <christopher.s.hall@intel.com>
Cc: joelaf@google.com
Cc: arnd@arndb.de
Cc: gregkh@linuxfoundation.org
Cc: john.stultz@linaro.org
Cc: deepa.kernel@gmail.com
Cc: stable@vger.kernel.org
Link: https://lkml.kernel.org/r/1510552144-20831-1-git-send-email-douly.fnst@cn.fujitsu.com
---
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
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] timekeeping: Eliminate the useless declaration of ktime_get_raw_and_real_ts64()
2017-11-13 5:49 [PATCH] timekeeping: Eliminate the useless declaration of ktime_get_raw_and_real_ts64() Dou Liyang
2017-11-13 16:39 ` [tip:timers/urgent] timekeeping: Eliminate the stale " tip-bot for Dou Liyang
@ 2017-11-15 14:42 ` Arnd Bergmann
1 sibling, 0 replies; 3+ messages in thread
From: Arnd Bergmann @ 2017-11-15 14:42 UTC (permalink / raw)
To: Dou Liyang
Cc: Linux Kernel Mailing List, Thomas Gleixner, Ingo Molnar,
H. Peter Anvin, John Stultz, Deepa Dinamani, pombredanne, gregkh,
Joel Fernandes
On Mon, Nov 13, 2017 at 6:49 AM, Dou Liyang <douly.fnst@cn.fujitsu.com> wrote:
> Commit:
>
> ba26621e63ce ("time: Remove duplicated code in ktime_get_raw_and_real()")
>
> ... got rid of ktime_get_raw_and_real_ts64(), but left its declaration
> behind.
>
> Remove it.
>
> Signed-off-by: Dou Liyang <douly.fnst@cn.fujitsu.com>
Good catch!
Acked-by: Arnd Bergmann <arnd@arndb.de>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-11-15 14:43 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-13 5:49 [PATCH] timekeeping: Eliminate the useless declaration of ktime_get_raw_and_real_ts64() Dou Liyang
2017-11-13 16:39 ` [tip:timers/urgent] timekeeping: Eliminate the stale " tip-bot for Dou Liyang
2017-11-15 14:42 ` [PATCH] timekeeping: Eliminate the useless " Arnd Bergmann
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).