Commit 6eba6678 authored by Robert Schmidt's avatar Robert Schmidt

Delete unused/write-only E1AP variables

parent ed0923c2
......@@ -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 !!!*/
}
......
......@@ -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;
......
......@@ -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;
......
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