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

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;