sources: drop selectable flag

This is no longer needed with new NTP packet processing as the sources
are always selectable after first sample is accumulated.
This commit is contained in:
Miroslav Lichvar
2014-10-16 18:07:03 +02:00
parent 6f84d2fac1
commit 63af4889f6
4 changed files with 6 additions and 53 deletions

View File

@@ -1272,8 +1272,6 @@ receive_packet(NTP_Packet *message, struct timeval *now, double now_err, NCR_Ins
/* Do this before we accumulate a new sample into the stats registers, obviously */
estimated_offset = SRC_PredictOffset(inst->source, &sample_time);
SRC_SetSelectable(inst->source);
SRC_AccumulateSample(inst->source,
&sample_time,
offset, delay, dispersion,