diff --git a/executables/nr-softmodem.c b/executables/nr-softmodem.c index 553f21a9fb..08e5c1c7f6 100644 --- a/executables/nr-softmodem.c +++ b/executables/nr-softmodem.c @@ -406,8 +406,6 @@ static int create_gNB_tasks(ngran_node_t node_type) createE1inst(UPtype, inst, &E1AP_SETUP_REQ(msg)); cuup_init_n3(inst); itti_free(TASK_UNKNOWN, msg); - getCxtE1(inst)->same_process = true; - ; RC.nrrrc[gnb_id_start]->e1_inst = inst; // stupid instance !!!*/ } diff --git a/openair2/E1AP/e1ap.c b/openair2/E1AP/e1ap.c index 6eebf8f7a9..e8d9807024 100644 --- a/openair2/E1AP/e1ap.c +++ b/openair2/E1AP/e1ap.c @@ -1627,7 +1627,6 @@ void e1_task_handle_sctp_association_ind(E1_t type, instance_t instance, sctp_ne else createE1inst(type, instance, NULL); getCxtE1(instance)->sockState = SCTP_STATE_ESTABLISHED; - getCxtE1(instance)->incoming_sock = true; e1ap_setup_req_t *setup_req = &getCxtE1(instance)->setupReq; setup_req->assoc_id = sctp_new_ind->assoc_id; setup_req->sctp_in_streams = sctp_new_ind->in_streams; diff --git a/openair2/E1AP/e1ap_common.h b/openair2/E1AP/e1ap_common.h index cddf5b9ea6..38e7d3ca7c 100644 --- a/openair2/E1AP/e1ap_common.h +++ b/openair2/E1AP/e1ap_common.h @@ -29,17 +29,12 @@ #include "common/ngran_types.h" typedef struct e1ap_upcp_inst_s { - bool incoming_sock; instance_t instance; - bool same_process; E1_t type; enum sctp_state_e sockState; - sctp_assoc_t assoc_id; instance_t gtpInstN3; instance_t gtpInstF1U; e1ap_setup_req_t setupReq; - e1ap_bearer_setup_req_t bearerSetupReq; - e1ap_bearer_setup_resp_t bearerSetupResp; } e1ap_upcp_inst_t; extern int asn1_xer_print;