summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/kern/kern_tc.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/sys/kern/kern_tc.c b/sys/kern/kern_tc.c
index 1128c2e..3697b5a 100644
--- a/sys/kern/kern_tc.c
+++ b/sys/kern/kern_tc.c
@@ -148,13 +148,6 @@ nanotime(struct timespec *ts)
nnanotime++;
tc = timecounter;
-#ifdef KTR
- if (tc == NULL) { /* called before initialization */
- ts->tv_sec = 0;
- ts->tv_nsec = 0;
- return;
- }
-#endif
ts->tv_sec = tc->tc_offset_sec;
count = tco_delta(tc);
delta = tc->tc_offset_nano;
OpenPOWER on IntegriCloud