Delete unused/write-only E1AP variables
This commit is contained in:
@@ -406,8 +406,6 @@ static int create_gNB_tasks(ngran_node_t node_type)
|
|||||||
createE1inst(UPtype, inst, &E1AP_SETUP_REQ(msg));
|
createE1inst(UPtype, inst, &E1AP_SETUP_REQ(msg));
|
||||||
cuup_init_n3(inst);
|
cuup_init_n3(inst);
|
||||||
itti_free(TASK_UNKNOWN, msg);
|
itti_free(TASK_UNKNOWN, msg);
|
||||||
getCxtE1(inst)->same_process = true;
|
|
||||||
;
|
|
||||||
RC.nrrrc[gnb_id_start]->e1_inst = inst; // stupid instance !!!*/
|
RC.nrrrc[gnb_id_start]->e1_inst = inst; // stupid instance !!!*/
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1627,7 +1627,6 @@ void e1_task_handle_sctp_association_ind(E1_t type, instance_t instance, sctp_ne
|
|||||||
else
|
else
|
||||||
createE1inst(type, instance, NULL);
|
createE1inst(type, instance, NULL);
|
||||||
getCxtE1(instance)->sockState = SCTP_STATE_ESTABLISHED;
|
getCxtE1(instance)->sockState = SCTP_STATE_ESTABLISHED;
|
||||||
getCxtE1(instance)->incoming_sock = true;
|
|
||||||
e1ap_setup_req_t *setup_req = &getCxtE1(instance)->setupReq;
|
e1ap_setup_req_t *setup_req = &getCxtE1(instance)->setupReq;
|
||||||
setup_req->assoc_id = sctp_new_ind->assoc_id;
|
setup_req->assoc_id = sctp_new_ind->assoc_id;
|
||||||
setup_req->sctp_in_streams = sctp_new_ind->in_streams;
|
setup_req->sctp_in_streams = sctp_new_ind->in_streams;
|
||||||
|
|||||||
@@ -29,17 +29,12 @@
|
|||||||
#include "common/ngran_types.h"
|
#include "common/ngran_types.h"
|
||||||
|
|
||||||
typedef struct e1ap_upcp_inst_s {
|
typedef struct e1ap_upcp_inst_s {
|
||||||
bool incoming_sock;
|
|
||||||
instance_t instance;
|
instance_t instance;
|
||||||
bool same_process;
|
|
||||||
E1_t type;
|
E1_t type;
|
||||||
enum sctp_state_e sockState;
|
enum sctp_state_e sockState;
|
||||||
sctp_assoc_t assoc_id;
|
|
||||||
instance_t gtpInstN3;
|
instance_t gtpInstN3;
|
||||||
instance_t gtpInstF1U;
|
instance_t gtpInstF1U;
|
||||||
e1ap_setup_req_t setupReq;
|
e1ap_setup_req_t setupReq;
|
||||||
e1ap_bearer_setup_req_t bearerSetupReq;
|
|
||||||
e1ap_bearer_setup_resp_t bearerSetupResp;
|
|
||||||
} e1ap_upcp_inst_t;
|
} e1ap_upcp_inst_t;
|
||||||
|
|
||||||
extern int asn1_xer_print;
|
extern int asn1_xer_print;
|
||||||
|
|||||||
Reference in New Issue
Block a user