From 9c71e4936bc28858a2d2f2b64fb5593cefb6182a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Erik=20Spr=C3=A5ng?= Date: Mon, 28 Oct 2019 23:08:23 +0100 Subject: [PATCH] Remove redundant BitrateProber::OnIncomingPacket() call MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The extra call doesn't appear to have any side effects, but should be removed nonetheless. Bug: None Change-Id: I45a98261828211b7bc7954acb779913249dc2b01 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/158620 Reviewed-by: Sebastian Jansson Commit-Queue: Erik Språng Cr-Commit-Position: refs/heads/master@{#29637} --- modules/pacing/pacing_controller.cc | 2 -- 1 file changed, 2 deletions(-) diff --git a/modules/pacing/pacing_controller.cc b/modules/pacing/pacing_controller.cc index 85b9e05dc6..b603bce394 100644 --- a/modules/pacing/pacing_controller.cc +++ b/modules/pacing/pacing_controller.cc @@ -233,8 +233,6 @@ TimeDelta PacingController::OldestPacketWaitTime() const { void PacingController::EnqueuePacketInternal( std::unique_ptr packet, int priority) { - prober_.OnIncomingPacket(packet->payload_size()); - Timestamp now = CurrentTime(); prober_.OnIncomingPacket(packet->payload_size());