summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2004-03-04 14:14:23 +0000
committerphk <phk@FreeBSD.org>2004-03-04 14:14:23 +0000
commite215fa23b4a4ea9d39a37487279f67ae1af5d6c4 (patch)
treeb0e5453207f3d485c30007075190311c7556570f /sys
parentdb202f4d13835c04feb9b8378b674e58450dca97 (diff)
downloadFreeBSD-src-e215fa23b4a4ea9d39a37487279f67ae1af5d6c4.zip
FreeBSD-src-e215fa23b4a4ea9d39a37487279f67ae1af5d6c4.tar.gz
Just because the timecounter reads the same value on two samples
after each other doesn't mean that nothing happened.
Diffstat (limited to 'sys')
-rw-r--r--sys/kern/kern_tc.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/kern/kern_tc.c b/sys/kern/kern_tc.c
index 55dda34..f2a12a8 100644
--- a/sys/kern/kern_tc.c
+++ b/sys/kern/kern_tc.c
@@ -670,10 +670,6 @@ pps_event(struct pps_state *pps, int event)
return;
}
- /* Return if nothing really happened. */
- if (*pcount == pps->capcount)
- return;
-
/* Convert the count to a timespec. */
tcount = pps->capcount - pps->capth->th_offset_count;
tcount &= pps->capth->th_counter->tc_counter_mask;
OpenPOWER on IntegriCloud