From ca13b6f3c4a70844b722d59e987b11440a9c038d Mon Sep 17 00:00:00 2001 From: Pedro Alvarez Date: Fri, 12 Nov 2021 15:52:52 +0000 Subject: [PATCH] Remove duplicate calculation of status report bytes --- lib/src/rlc/rlc_am_nr.cc | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lib/src/rlc/rlc_am_nr.cc b/lib/src/rlc/rlc_am_nr.cc index c746d17a6..a53bc668e 100644 --- a/lib/src/rlc/rlc_am_nr.cc +++ b/lib/src/rlc/rlc_am_nr.cc @@ -184,10 +184,6 @@ void rlc_am_nr_tx::get_buffer_state(uint32_t& tx_queue, uint32_t& prio_tx_queue) status_prohibit_timer.time_elapsed(), status_prohibit_timer.duration()); */ - if (do_status() /* && not TODO status_prohibit_timer*/) { - n_bytes += rx->get_status_pdu_length(); - logger->debug("%s Buffer state - total status report: %d bytes", rb_name, n_bytes); - } // Bytes needed for status report if (do_status() /* && not TODO status_prohibit_timer*/) {