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

master
Pedro Alvarez 3 years ago
parent ea532cbf41
commit 840aac7fda

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

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

Loading…
Cancel
Save