1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-16 15:11:52 +00:00

Just because the timecounter reads the same value on two samples

after each other doesn't mean that nothing happened.
This commit is contained in:
Poul-Henning Kamp 2004-03-04 14:14:23 +00:00
parent 302799e4e8
commit 1e0e79c993
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=126600

View File

@ -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;