NR RRC - Remove unnecessary function nr_ue_get

parent 0d89f13a
...@@ -120,19 +120,3 @@ uint8_t next_available_drb(gNB_RRC_UE_t *rrc_ue, uint8_t pdusession_id) { ...@@ -120,19 +120,3 @@ uint8_t next_available_drb(gNB_RRC_UE_t *rrc_ue, uint8_t pdusession_id) {
LOG_E(RRC, "Error - All the DRBs are used - Handle this\n"); LOG_E(RRC, "Error - All the DRBs are used - Handle this\n");
return DRB_INACTIVE; return DRB_INACTIVE;
} }
nr_ue_t *nr_ue_get(rnti_t rnti) {
nr_ue_t *ue;
ue = ues.list;
if(ue == NULL)
return NULL;
while(ue->ue_id != rnti && ue->next_ue != NULL)
ue = ue->next_ue;
if(ue->ue_id == rnti)
return ue;
return NULL;
}
\ No newline at end of file
...@@ -51,7 +51,6 @@ NR_DRB_ToAddMod_t *generateDRB(gNB_RRC_UE_t *rrc_ue, ...@@ -51,7 +51,6 @@ NR_DRB_ToAddMod_t *generateDRB(gNB_RRC_UE_t *rrc_ue,
int do_drb_integrity, int do_drb_integrity,
int do_drb_ciphering); int do_drb_ciphering);
nr_ue_t *nr_ue_get(rnti_t rnti);
uint8_t next_available_drb(gNB_RRC_UE_t *ue, uint8_t pdusession_id); uint8_t next_available_drb(gNB_RRC_UE_t *ue, uint8_t pdusession_id);
#endif #endif
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment