diff --git a/lib/include/srsran/rlc/rlc_am_nr.h b/lib/include/srsran/rlc/rlc_am_nr.h index f95c98fa8..619a3978e 100644 --- a/lib/include/srsran/rlc/rlc_am_nr.h +++ b/lib/include/srsran/rlc/rlc_am_nr.h @@ -98,7 +98,6 @@ public: void reestablish() final; void stop() final; - void stop_no_lock(); int write_sdu(unique_byte_buffer_t sdu); void empty_queue() final; @@ -229,7 +228,6 @@ public: void reestablish() final; void stop() final; - void stop_no_lock(); // Status PDU bool get_do_status(); diff --git a/lib/src/rlc/rlc_am_nr.cc b/lib/src/rlc/rlc_am_nr.cc index bfae6c2a8..a05c8a8e3 100644 --- a/lib/src/rlc/rlc_am_nr.cc +++ b/lib/src/rlc/rlc_am_nr.cc @@ -1171,11 +1171,6 @@ void rlc_am_nr_tx::empty_queue_no_lock() void rlc_am_nr_tx::stop() { std::lock_guard lock(mutex); - stop_no_lock(); -} - -void rlc_am_nr_tx::stop_no_lock() -{ empty_queue_no_lock(); if (parent->timers != nullptr && poll_retransmit_timer.is_valid()) { @@ -1356,11 +1351,7 @@ bool rlc_am_nr_rx::configure(const rlc_config_t& cfg_) void rlc_am_nr_rx::stop() { std::lock_guard lock(mutex); - stop_no_lock(); -} -void rlc_am_nr_rx::stop_no_lock() -{ if (parent->timers != nullptr && reassembly_timer.is_valid()) { reassembly_timer.stop(); }