summaryrefslogtreecommitdiff
path: root/include/linux/timekeeping32.h
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2018-08-14 15:15:23 +0300
committerArnd Bergmann <arnd@arndb.de>2018-12-18 18:13:05 +0300
commit926617889dc8383a120c66a2ecf7959a69f96950 (patch)
tree46426812a05100b6a0cd68b238d281dcf45d8b46 /include/linux/timekeeping32.h
parent19f48591e67c83e74e1b612f180b96ce7f1eaf85 (diff)
downloadlinux-926617889dc8383a120c66a2ecf7959a69f96950.tar.xz
timekeeping: remove unused {read,update}_persistent_clock
After arch/sh has removed the last reference to these functions, we can remove them completely and just rely on the 64-bit time_t based versions. This cleans up a rather ugly use of __weak functions. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Acked-by: John Stultz <john.stultz@linaro.org>
Diffstat (limited to 'include/linux/timekeeping32.h')
-rw-r--r--include/linux/timekeeping32.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/linux/timekeeping32.h b/include/linux/timekeeping32.h
index a502616f7e1c..0036ff314ac5 100644
--- a/include/linux/timekeeping32.h
+++ b/include/linux/timekeeping32.h
@@ -52,10 +52,4 @@ static inline void getboottime(struct timespec *ts)
*ts = timespec64_to_timespec(ts64);
}
-/*
- * Persistent clock related interfaces
- */
-extern void read_persistent_clock(struct timespec *ts);
-extern int update_persistent_clock(struct timespec now);
-
#endif