fix warnings
This commit is contained in:
@@ -421,7 +421,6 @@ void nr_initiate_ra_proc(module_id_t module_idP,
|
|||||||
|
|
||||||
uint8_t ul_carrier_id = 0; // 0 for NUL 1 for SUL
|
uint8_t ul_carrier_id = 0; // 0 for NUL 1 for SUL
|
||||||
NR_SearchSpace_t *ss;
|
NR_SearchSpace_t *ss;
|
||||||
int UE_id = 0;
|
|
||||||
|
|
||||||
uint16_t msg2_frame, msg2_slot,monitoring_slot_period,monitoring_offset;
|
uint16_t msg2_frame, msg2_slot,monitoring_slot_period,monitoring_offset;
|
||||||
gNB_MAC_INST *nr_mac = RC.nrmac[module_idP];
|
gNB_MAC_INST *nr_mac = RC.nrmac[module_idP];
|
||||||
|
|||||||
@@ -1688,7 +1688,7 @@ inline void add_nr_ue_list(NR_UE_list_t *listP, int UE_id) {
|
|||||||
/*
|
/*
|
||||||
* Remove a UE from NR_UE_list listP
|
* Remove a UE from NR_UE_list listP
|
||||||
*/
|
*/
|
||||||
inline int remove_nr_ue_list(NR_UE_list_t *listP, int UE_id) {
|
static inline void remove_nr_ue_list(NR_UE_list_t *listP, int UE_id) {
|
||||||
int *cur = &listP->head;
|
int *cur = &listP->head;
|
||||||
while (*cur != -1 && *cur != UE_id)
|
while (*cur != -1 && *cur != UE_id)
|
||||||
cur = &listP->next[*cur];
|
cur = &listP->next[*cur];
|
||||||
@@ -1696,7 +1696,7 @@ inline int remove_nr_ue_list(NR_UE_list_t *listP, int UE_id) {
|
|||||||
int *next = &listP->next[*cur];
|
int *next = &listP->next[*cur];
|
||||||
*cur = listP->next[*cur];
|
*cur = listP->next[*cur];
|
||||||
*next = -1;
|
*next = -1;
|
||||||
return 1;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
int find_nr_UE_id(module_id_t mod_idP, rnti_t rntiP)
|
int find_nr_UE_id(module_id_t mod_idP, rnti_t rntiP)
|
||||||
|
|||||||
Reference in New Issue
Block a user