From 7459a65a8e261481d15b3e2a1539ecc892deb7f4 Mon Sep 17 00:00:00 2001 From: Andre Puschmann Date: Wed, 7 Apr 2021 19:25:47 +0200 Subject: [PATCH] enb,rrc_ue: remove unused variable --- CMakeLists.txt | 72 +++++++++++++++++----------------- srsenb/hdr/stack/rrc/rrc_ue.h | 1 - srsenb/src/stack/rrc/rrc_ue.cc | 2 +- 3 files changed, 37 insertions(+), 38 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 0ae4150c3..e698814c1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -50,47 +50,47 @@ configure_file( ######################################################################## # Options ######################################################################## -option(ENABLE_SRSUE "Build srsUE application" ON) -option(ENABLE_SRSENB "Build srsENB application" ON) -option(ENABLE_SRSEPC "Build srsEPC application" ON) -option(DISABLE_SIMD "Disable SIMD instructions" OFF) -option(AUTO_DETECT_ISA "Autodetect supported ISA extensions" ON) - -option(ENABLE_GUI "Enable GUI (using srsGUI)" ON) -option(ENABLE_UHD "Enable UHD" ON) -option(ENABLE_BLADERF "Enable BladeRF" ON) -option(ENABLE_SOAPYSDR "Enable SoapySDR" ON) -option(ENABLE_ZEROMQ "Enable ZeroMQ" ON) -option(ENABLE_HARDSIM "Enable support for SIM cards" ON) - -option(ENABLE_TTCN3 "Enable TTCN3 test binaries" OFF) -option(ENABLE_ZMQ_TEST "Enable ZMQ based E2E tests" OFF) - -option(BUILD_STATIC "Attempt to statically link external deps" OFF) -option(RPATH "Enable RPATH" OFF) -option(ENABLE_ASAN "Enable gcc/clang address sanitizer" OFF) -option(ENABLE_GCOV "Enable gcc/clang address sanitizer" OFF) -option(ENABLE_MSAN "Enable clang memory sanitizer" OFF) -option(ENABLE_TSAN "Enable clang thread sanitizer" OFF) -option(ENABLE_TIDY "Enable clang tidy" OFF) - -option(USE_LTE_RATES "Use standard LTE sampling rates" OFF) -option(USE_MKL "Use MKL instead of fftw" OFF) - -option(ENABLE_TIMEPROF "Enable time profiling" ON) - -option(FORCE_32BIT "Add flags to force 32 bit compilation" OFF) - -option(ENABLE_SRSLOG_TRACING "Enable event tracing using srslog" OFF) -option(ASSERTS_ENABLED "Enable srsRAN asserts" ON) -option(STOP_ON_WARNING "Interrupt application on warning" OFF) +option(ENABLE_SRSUE "Build srsUE application" ON) +option(ENABLE_SRSENB "Build srsENB application" ON) +option(ENABLE_SRSEPC "Build srsEPC application" ON) +option(DISABLE_SIMD "Disable SIMD instructions" OFF) +option(AUTO_DETECT_ISA "Autodetect supported ISA extensions" ON) + +option(ENABLE_GUI "Enable GUI (using srsGUI)" ON) +option(ENABLE_UHD "Enable UHD" ON) +option(ENABLE_BLADERF "Enable BladeRF" ON) +option(ENABLE_SOAPYSDR "Enable SoapySDR" ON) +option(ENABLE_ZEROMQ "Enable ZeroMQ" ON) +option(ENABLE_HARDSIM "Enable support for SIM cards" ON) + +option(ENABLE_TTCN3 "Enable TTCN3 test binaries" OFF) +option(ENABLE_ZMQ_TEST "Enable ZMQ based E2E tests" OFF) + +option(BUILD_STATIC "Attempt to statically link external deps" OFF) +option(RPATH "Enable RPATH" OFF) +option(ENABLE_ASAN "Enable gcc/clang address sanitizer" OFF) +option(ENABLE_GCOV "Enable gcc/clang address sanitizer" OFF) +option(ENABLE_MSAN "Enable clang memory sanitizer" OFF) +option(ENABLE_TSAN "Enable clang thread sanitizer" OFF) +option(ENABLE_TIDY "Enable clang tidy" OFF) + +option(USE_LTE_RATES "Use standard LTE sampling rates" OFF) +option(USE_MKL "Use MKL instead of fftw" OFF) + +option(ENABLE_TIMEPROF "Enable time profiling" ON) + +option(FORCE_32BIT "Add flags to force 32 bit compilation" OFF) + +option(ENABLE_SRSLOG_TRACING "Enable event tracing using srslog" OFF) +option(ASSERTS_ENABLED "Enable srsRAN asserts" ON) +option(STOP_ON_WARNING "Interrupt application on warning" OFF) # Users that want to try this feature need to make sure the lto plugin is # loaded by bintools (ar, nm, ...). Older versions of bintools will not do # it automatically so it is necessary to use the gcc wrappers of the compiler # (gcc-ar, gcc-nm, ...). -option(BUILD_WITH_LTO "Enable LTO (experimental)" OFF) - +option(BUILD_WITH_LTO "Enable LTO (experimental)" OFF) + if(${CMAKE_SYSTEM_PROCESSOR} MATCHES "aarch64") set(GCC_ARCH armv8-a CACHE STRING "GCC compile for specific architecture.") message(STATUS "Detected aarch64 processor") diff --git a/srsenb/hdr/stack/rrc/rrc_ue.h b/srsenb/hdr/stack/rrc/rrc_ue.h index fac4b10cf..4db34a921 100644 --- a/srsenb/hdr/stack/rrc/rrc_ue.h +++ b/srsenb/hdr/stack/rrc/rrc_ue.h @@ -187,7 +187,6 @@ private: const static uint32_t UE_PCELL_CC_IDX = 0; uint32_t consecutive_kos = 0; - uint32_t max_mac_dl_retx; ue_cell_ded_list ue_cell_list; bearer_cfg_handler bearer_list; diff --git a/srsenb/src/stack/rrc/rrc_ue.cc b/srsenb/src/stack/rrc/rrc_ue.cc index 207e1e282..29cb012f5 100644 --- a/srsenb/src/stack/rrc/rrc_ue.cc +++ b/srsenb/src/stack/rrc/rrc_ue.cc @@ -203,7 +203,7 @@ void rrc::ue::set_rlf_timeout() uint32_t deadline = deadline_s * 1e3 + deadline_ms; rlf_timer.set(deadline, [this](uint32_t tid) { rlf_timer_expired(); }); - parent->logger.debug("Setting RLF timer for rnti=0x%x to %dms", rnti, deadline); + parent->logger.info("Setting RLF timer for rnti=0x%x to %dms", rnti, deadline); } void rrc::ue::set_activity_timeout(const activity_timeout_type_t type)