Skip to content

Commit 00067a6

Browse files
Pavel TatashinKAGA-KOKO
authored andcommitted
s390/time: Remove read_boot_clock64()
read_boot_clock64() was replaced by read_persistent_wall_and_boot_offset() so remove it. Signed-off-by: Pavel Tatashin <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Link: https://lkml.kernel.org/r/[email protected]
1 parent 4b1b7f8 commit 00067a6

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

arch/s390/kernel/time.c

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -239,19 +239,6 @@ void __init read_persistent_wall_and_boot_offset(struct timespec64 *wall_time,
239239
*boot_offset = timespec64_sub(*wall_time, boot_time);
240240
}
241241

242-
void read_boot_clock64(struct timespec64 *ts)
243-
{
244-
unsigned char clk[STORE_CLOCK_EXT_SIZE];
245-
__u64 delta;
246-
247-
delta = initial_leap_seconds + TOD_UNIX_EPOCH;
248-
memcpy(clk, tod_clock_base, 16);
249-
*(__u64 *) &clk[1] -= delta;
250-
if (*(__u64 *) &clk[1] > delta)
251-
clk[0]--;
252-
ext_to_timespec64(clk, ts);
253-
}
254-
255242
static u64 read_tod_clock(struct clocksource *cs)
256243
{
257244
unsigned long long now, adj;

0 commit comments

Comments
 (0)