Skip to content

Commit 5016224

Browse files
FabianEckermannFabian Eckermann
authored andcommitted
cu_cp,f1ap: removed unused notifier
1 parent 8101f8c commit 5016224

File tree

4 files changed

+1
-14
lines changed

4 files changed

+1
-14
lines changed

include/srsran/f1ap/cu_cp/f1ap_cu.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -142,9 +142,6 @@ class f1ap_du_processor_notifier : public du_setup_notifier, public f1ap_common_
142142
public:
143143
virtual ~f1ap_du_processor_notifier() = default;
144144

145-
/// \brief Notifies the CU-CP to create a new UE instance.
146-
virtual ue_index_t on_new_cu_cp_ue_required() = 0;
147-
148145
/// \brief Notifies the CU-CP that an RRC context has been created for an existing CU-CP UE.
149146
virtual ue_rrc_context_creation_outcome
150147
on_ue_rrc_context_creation_request(const ue_rrc_context_creation_request& req) = 0;

lib/cu_cp/adapters/f1ap_adapters.h

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,6 @@ class f1ap_du_processor_adapter : public f1ap_du_processor_notifier
3737
return du_setup_hdlr->handle_du_setup_request(msg);
3838
}
3939

40-
ue_index_t on_new_cu_cp_ue_required() override
41-
{
42-
srsran_assert(du_f1ap_handler != nullptr, "F1AP handler must not be nullptr");
43-
return du_f1ap_handler->allocate_new_ue_index();
44-
}
45-
4640
ue_rrc_context_creation_outcome
4741
on_ue_rrc_context_creation_request(const ue_rrc_context_creation_request& req) override
4842
{

lib/cu_cp/du_processor/du_processor.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,6 @@ class du_processor_f1ap_interface
3333
/// \return The DU index.
3434
virtual du_index_t get_du_index() = 0;
3535

36-
/// \brief Allocate a new UE index.
37-
virtual ue_index_t allocate_new_ue_index() = 0;
38-
3936
/// \brief Request to create a new UE RRC context.
4037
///
4138
/// This method should be called when a C-RNTI and PCell are assigned to a UE.
@@ -221,7 +218,6 @@ class du_processor_mobility_handler
221218
/// \brief Retrieve the SIB1 for a given PCI of a DU.
222219
virtual byte_buffer get_packed_sib1(nr_cell_global_id_t cgi) = 0;
223220
};
224-
225221
/// Handler for an NGAP entity to communicate with the DU processor
226222
class du_processor_ngap_interface
227223
{

tests/unittests/f1ap/cu_cp/f1ap_cu_test_helpers.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ class dummy_f1ap_du_processor_notifier : public srs_cu_cp::f1ap_du_processor_not
146146
return response;
147147
}
148148

149-
ue_index_t on_new_cu_cp_ue_required() override
149+
ue_index_t on_new_cu_cp_ue_required()
150150
{
151151
ue_index_t ue_index = srs_cu_cp::ue_index_t::invalid;
152152
if (ue_id < max_nof_supported_ues) {

0 commit comments

Comments
 (0)