From 84cf5c30ec7f7f1871d831ffacde06a310f4caa0 Mon Sep 17 00:00:00 2001 From: Pedro Alvarez Date: Tue, 17 May 2022 10:32:27 +0100 Subject: [PATCH] lib,pdcp_nr: rm ifdef to select PDCP NR. PDCP NR is always selected now --- lib/src/pdcp/pdcp.cc | 5 ----- 1 file changed, 5 deletions(-) diff --git a/lib/src/pdcp/pdcp.cc b/lib/src/pdcp/pdcp.cc index b423aa286..0328520b0 100644 --- a/lib/src/pdcp/pdcp.cc +++ b/lib/src/pdcp/pdcp.cc @@ -111,12 +111,7 @@ int pdcp::add_bearer(uint32_t lcid, const pdcp_config_t& cfg) if (cfg.rat == srsran::srsran_rat_t::lte) { entity.reset(new pdcp_entity_lte{rlc, rrc, gw, task_sched, logger, lcid}); } else if (cfg.rat == srsran::srsran_rat_t::nr) { -#ifdef USE_PDCP_NR -#pragma message "Compiling with PDCP NR entity" entity.reset(new pdcp_entity_nr{rlc, rrc, gw, task_sched, logger, lcid}); -#else - entity.reset(new pdcp_entity_lte{rlc, rrc, gw, task_sched, logger, lcid}); -#endif } if (not entity->configure(cfg)) {