Remove a bogus #ifdef KTR stanza.
Noticed by: Alexander Langer <alex@big.endian.de>
This commit is contained in:
parent
cdf3df051b
commit
dfe91ebab3
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user