diff options
author | phk <phk@FreeBSD.org> | 2001-01-01 23:09:53 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2001-01-01 23:09:53 +0000 |
commit | dfe91ebab37b85e848a0b602520ef3eec240be54 (patch) | |
tree | 38a742906185e2ed935df0f1b62e183902b463ae /sys | |
parent | cdf3df051bdd690363bbd469c621113c53396d8a (diff) | |
download | FreeBSD-src-dfe91ebab37b85e848a0b602520ef3eec240be54.zip FreeBSD-src-dfe91ebab37b85e848a0b602520ef3eec240be54.tar.gz |
Remove a bogus #ifdef KTR stanza.
Noticed by: Alexander Langer <alex@big.endian.de>
Diffstat (limited to 'sys')
-rw-r--r-- | sys/kern/kern_tc.c | 7 |
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; |