From cc87af2986e83f5007ccfa9cfe0a3630676ed2d8 Mon Sep 17 00:00:00 2001 From: Andre Puschmann Date: Fri, 15 Oct 2021 16:46:15 +0200 Subject: [PATCH] ue,rrc: simplify code --- srsue/src/stack/rrc/rrc.cc | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/srsue/src/stack/rrc/rrc.cc b/srsue/src/stack/rrc/rrc.cc index c9fefe1e8..02479d266 100644 --- a/srsue/src/stack/rrc/rrc.cc +++ b/srsue/src/stack/rrc/rrc.cc @@ -2837,10 +2837,7 @@ uint32_t rrc::get_drb_id_for_eps_bearer(const uint32_t& eps_bearer_id) bool rrc::has_nr_dc() { - bool has_nr_dc = false; - if (args.release >= 15) - has_nr_dc = true; - return has_nr_dc; + return (args.release >= 15); } void rrc::add_mrb(uint32_t lcid, uint32_t port)