OSDN Git Service

timekeeping: remove unused {read,update}_persistent_clock
[uclinux-h8/linux.git] / kernel / time / ntp.c
index c5e0cba..e23be41 100644 (file)
@@ -555,17 +555,9 @@ static void sync_rtc_clock(void)
 }
 
 #ifdef CONFIG_GENERIC_CMOS_UPDATE
-int __weak update_persistent_clock(struct timespec now)
-{
-       return -ENODEV;
-}
-
 int __weak update_persistent_clock64(struct timespec64 now64)
 {
-       struct timespec now;
-
-       now = timespec64_to_timespec(now64);
-       return update_persistent_clock(now);
+       return -ENODEV;
 }
 #endif