Skip to content

Commit c7df7f2

Browse files
FabianEckermanncodebot
authored andcommitted
cu_cp,rrc: remove unused code
1 parent 4a0a9d3 commit c7df7f2

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

include/srsran/rrc/rrc_ue.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -120,10 +120,6 @@ class rrc_ue_security_mode_command_proc_notifier
120120
/// \brief Notify about a DL DCCH message.
121121
/// \param[in] dl_dcch_msg The DL DCCH message.
122122
virtual void on_new_dl_dcch(srb_id_t srb_id, const asn1::rrc_nr::dl_dcch_msg_s& dl_dcch_msg) = 0;
123-
124-
/// \brief Setup AS security in the UE. This includes configuring
125-
/// the PDCP entity security on SRB1 with the new AS keys.
126-
virtual void on_new_as_security_context() = 0;
127123
};
128124

129125
/// Interface used by the RRC reestablishment procedure to

tests/unittests/rrc/rrc_ue_test_helpers.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -181,8 +181,7 @@ class rrc_ue_test_helper
181181
ue_mng.find_ue(allocated_ue_index)->get_security_manager().init_security_context(init_sec_ctx);
182182

183183
// Configure PDCP entity security on SRB1
184-
rrc_ue_security_mode_command_proc_notifier& rrc_ue_notifier = *rrc_ue;
185-
rrc_ue_notifier.on_new_as_security_context();
184+
rrc_ue->on_new_as_security_context();
186185
}
187186

188187
void enable_security()

0 commit comments

Comments
 (0)