lic,rlc_am_nr: removed stop_no_lock(), it is not necessasry

This commit is contained in:
Pedro Alvarez 2022-04-28 16:11:30 +01:00
parent ea532cbf41
commit 840aac7fda
2 changed files with 0 additions and 11 deletions

View File

@ -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();

View File

@ -1171,11 +1171,6 @@ void rlc_am_nr_tx::empty_queue_no_lock()
void rlc_am_nr_tx::stop()
{
std::lock_guard<std::mutex> 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<std::mutex> lock(mutex);
stop_no_lock();
}
void rlc_am_nr_rx::stop_no_lock()
{
if (parent->timers != nullptr && reassembly_timer.is_valid()) {
reassembly_timer.stop();
}