From 96901258827efd6fbd7d55ec47546c5aca089c8f Mon Sep 17 00:00:00 2001 From: Ismael Gomez Date: Wed, 11 Jul 2018 15:42:51 +0200 Subject: [PATCH] Minor cleanup --- lib/src/upper/rlc_um.cc | 2 +- srsue/src/phy/phch_recv.cc | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/src/upper/rlc_um.cc b/lib/src/upper/rlc_um.cc index 77eab5270..f0466c9e1 100644 --- a/lib/src/upper/rlc_um.cc +++ b/lib/src/upper/rlc_um.cc @@ -210,7 +210,7 @@ void rlc_um::write_sdu_nb(byte_buffer_t *sdu) } if (sdu) { if (tx_sdu_queue.try_write(sdu)) { - log->info_hex(sdu->msg, sdu->N_bytes, "%s Tx SDU (%d B,tx_sdu_queue_len=%d)", rrc->get_rb_name(lcid).c_str(), sdu->N_bytes); + log->info_hex(sdu->msg, sdu->N_bytes, "%s Tx SDU (%d B,tx_sdu_queue_len=%d)", rrc->get_rb_name(lcid).c_str(), sdu->N_bytes, tx_sdu_queue.size()); } else { log->debug_hex(sdu->msg, sdu->N_bytes, "[Dropped SDU] %s Tx SDU (%d B,tx_sdu_queue_len=%d)", rrc->get_rb_name(lcid).c_str(), sdu->N_bytes, tx_sdu_queue.size()); pool->deallocate(sdu); diff --git a/srsue/src/phy/phch_recv.cc b/srsue/src/phy/phch_recv.cc index 8ab51d90c..9f9ef945d 100644 --- a/srsue/src/phy/phch_recv.cc +++ b/srsue/src/phy/phch_recv.cc @@ -26,8 +26,6 @@ #include #include -#include -#include #include "srslte/srslte.h" #include "srslte/common/log.h" #include "srsue/hdr/phy/phch_worker.h"