ns2: ns2_recv_vc: remove unused parameter nsi
Change-Id: I0dbc079e83d37de01a4260442363ed5fdcd51d28
diff --git a/src/gb/gprs_ns2_frgre.c b/src/gb/gprs_ns2_frgre.c
index 715c41a..0903e46 100644
--- a/src/gb/gprs_ns2_frgre.c
+++ b/src/gb/gprs_ns2_frgre.c
@@ -446,7 +446,7 @@
rc = ns2_create_vc(bind, msg, "newconnection", &reject, &nsvc);
switch (rc) {
case GPRS_NS2_CS_FOUND:
- rc = ns2_recv_vc(bind->nsi, nsvc, msg);
+ rc = ns2_recv_vc(nsvc, msg);
break;
case GPRS_NS2_CS_ERROR:
case GPRS_NS2_CS_SKIPPED:
@@ -459,12 +459,12 @@
case GPRS_NS2_CS_CREATED:
frgre_alloc_vc(bind, nsvc, &saddr, dlci);
gprs_ns2_vc_fsm_start(nsvc);
- rc = ns2_recv_vc(bind->nsi, nsvc, msg);
+ rc = ns2_recv_vc(nsvc, msg);
break;
}
} else {
/* VC found */
- rc = ns2_recv_vc(bind->nsi, nsvc, msg);
+ rc = ns2_recv_vc(nsvc, msg);
}
out:
msgb_free(msg);