aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src
diff options
context:
space:
mode:
authorNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-02-16 12:03:01 +0100
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-03-03 16:19:11 +0100
commit090aabe052956b571a3dd3430aeaf0f1f3ae366d (patch)
treeb5a8ecd88b5943cf6e4a486428fa3386f062371b /openbsc/src
parentbe37fbd85d2ebde3bd2c00379b55292028ede2e6 (diff)
gsm0408_rcvmsg_iucs: remove unused link_id arg.
Diffstat (limited to 'openbsc/src')
-rw-r--r--openbsc/src/libmsc/iu_cs.c4
-rw-r--r--openbsc/src/osmo-cscn/cscn_main.c3
2 files changed, 3 insertions, 4 deletions
diff --git a/openbsc/src/libmsc/iu_cs.c b/openbsc/src/libmsc/iu_cs.c
index e66a3c1df..646235f7c 100644
--- a/openbsc/src/libmsc/iu_cs.c
+++ b/openbsc/src/libmsc/iu_cs.c
@@ -58,8 +58,8 @@ static struct gsm_subscriber_connection *subscr_conn_lookup_iu(struct gsm_networ
}
/* Receive MM/CC/... message from IuCS (SCCP user SAP).
- * msg->dst must reference a struct ue_conn_ctx. link_id identifies the SCTP
- * peer that sent the msg.
+ * msg->dst must reference a struct ue_conn_ctx, which identifies the peer that
+ * sent the msg.
*
* For A-interface see libbsc/bsc_api.c gsm0408_rcvmsg(). */
int gsm0408_rcvmsg_iucs(struct gsm_network *network, struct msgb *msg)
diff --git a/openbsc/src/osmo-cscn/cscn_main.c b/openbsc/src/osmo-cscn/cscn_main.c
index 17d5fddb7..453983855 100644
--- a/openbsc/src/osmo-cscn/cscn_main.c
+++ b/openbsc/src/osmo-cscn/cscn_main.c
@@ -304,8 +304,7 @@ static int rcvmsg_iu_cs(struct msgb *msg, struct gprs_ra_id *ra_id, /* FIXME gpr
DEBUGP(DIUCS, "got Iu-CS message\n");
DEBUGP(DIUCS, "Iu-CS message is %s\n",
osmo_hexdump(msg->data, msg->len));
- uint8_t link_id = 42; /* TODO proper link_id */
- return gsm0408_rcvmsg_iucs(cscn_network, msg, link_id);
+ return gsm0408_rcvmsg_iucs(cscn_network, msg);
}
static int handle_rab_ass_resp(struct ue_conn_ctx *ctx, uint8_t rab_id, RANAP_RAB_SetupOrModifiedItemIEs_t *setup_ies)