From 347f427c33145f0aa9249012614b035f586079ee Mon Sep 17 00:00:00 2001 From: Andre Puschmann Date: Thu, 7 Feb 2019 14:28:42 +0100 Subject: [PATCH] remove unused variables --- srsue/src/phy/phch_worker.cc | 6 ------ srsue/src/upper/rrc.cc | 1 - 2 files changed, 7 deletions(-) diff --git a/srsue/src/phy/phch_worker.cc b/srsue/src/phy/phch_worker.cc index 38c6b3963..31d7a3f02 100644 --- a/srsue/src/phy/phch_worker.cc +++ b/srsue/src/phy/phch_worker.cc @@ -612,9 +612,6 @@ bool phch_worker::extract_fft_and_pdcch_llr(subframe_cfg_t sf_cfg) { bool phch_worker::decode_pdcch_dl(srsue::mac_interface_phy::mac_grant_t* grant) { - char timestr[64]; - timestr[0]='\0'; - dl_rnti = phy->get_dl_rnti(tti); if (dl_rnti) { @@ -940,9 +937,6 @@ bool phch_worker::decode_phich(bool *ack) bool phch_worker::decode_pdcch_ul(mac_interface_phy::mac_grant_t* grant) { - char timestr[64]; - timestr[0]='\0'; - phy->reset_pending_ack(TTI_RX_ACK(tti)); srslte_dci_msg_t dci_msg; diff --git a/srsue/src/upper/rrc.cc b/srsue/src/upper/rrc.cc index 92dd0f706..39f288c3f 100644 --- a/srsue/src/upper/rrc.cc +++ b/srsue/src/upper/rrc.cc @@ -1807,7 +1807,6 @@ void rrc::handle_sib1() sib1->si_win_len.to_number(), sib1->sched_info_list[0].si_periodicity.to_number()); // Print SIB scheduling info - uint32_t i,j; for (uint32_t i = 0; i < sib1->sched_info_list.size(); ++i) { sched_info_s::si_periodicity_e_ p = sib1->sched_info_list[i].si_periodicity; for (uint32_t j = 0; j < sib1->sched_info_list[i].sib_map_info.size(); ++j) {