diff --git a/lib/hooks/drop.c b/lib/hooks/drop.c index 4f21106e2..0ac6d39fb 100644 --- a/lib/hooks/drop.c +++ b/lib/hooks/drop.c @@ -68,9 +68,7 @@ static int drop_read(struct hook *h, struct sample *smps[], unsigned *cnt) if (dist <= 0) { cur->flags |= SAMPLE_IS_REORDERED; - debug(10, "Reordered sample: sequence=%u, distance=%d", cur->sequence, dist); - if (h->node && h->node->stats) - stats_update(h->node->stats, STATS_REORDERED, dist); + debug(10, "Dropping reordered sample: sequence=%u, distance=%d", cur->sequence, dist); } else goto ok;