aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilipp Maier <pmaier@sysmocom.de>2017-07-03 13:15:03 +0200
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2017-07-25 01:06:59 +0200
commitc10d13863eb00ea51a3242dfeaf701da2fa74446 (patch)
tree3ce0efa04f8bac028886b64fc61647d30b2c7619
parent823d2acf0a2c5755fb5b075f0e6f127c49d804f3 (diff)
a_iface: remove unused variable
-rw-r--r--include/openbsc/a_iface.h2
-rw-r--r--src/libmsc/a_iface.c2
-rw-r--r--src/osmo-msc/msc_main.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/include/openbsc/a_iface.h b/include/openbsc/a_iface.h
index 124a5d2ee..4c51a7f4a 100644
--- a/include/openbsc/a_iface.h
+++ b/include/openbsc/a_iface.h
@@ -49,7 +49,7 @@ struct bsc_context {
};
/* Initalize A interface connection between to MSC and BSC */
-int a_init(const void *ctx, struct osmo_sccp_instance *sccp, struct gsm_network *network);
+int a_init(struct osmo_sccp_instance *sccp, struct gsm_network *network);
/* Send DTAP message via A-interface */
int a_iface_tx_dtap(struct msgb *msg);
diff --git a/src/libmsc/a_iface.c b/src/libmsc/a_iface.c
index f98a1c6bc..5ed7c5790 100644
--- a/src/libmsc/a_iface.c
+++ b/src/libmsc/a_iface.c
@@ -539,7 +539,7 @@ void a_clear_all(struct osmo_sccp_user *scu, const struct osmo_sccp_addr *bsc_ad
}
/* Initalize A interface connection between to MSC and BSC */
-int a_init(const void *ctx, struct osmo_sccp_instance *sccp, struct gsm_network *network)
+int a_init(struct osmo_sccp_instance *sccp, struct gsm_network *network)
{
OSMO_ASSERT(sccp);
OSMO_ASSERT(network);
diff --git a/src/osmo-msc/msc_main.c b/src/osmo-msc/msc_main.c
index 44847605c..12eb2dac0 100644
--- a/src/osmo-msc/msc_main.c
+++ b/src/osmo-msc/msc_main.c
@@ -510,7 +510,7 @@ TODO: we probably want some of the _net_ ctrl commands from bsc_base_ctrl_cmds_i
iu_init(tall_msc_ctx, msc_network->sccp, rcvmsg_iu_cs, rx_iu_event);
/* Set up A interface */
- a_init(tall_msc_ctx, msc_network->sccp, msc_network);
+ a_init(msc_network->sccp, msc_network);
if (msc_cmdline_config.daemonize) {
rc = osmo_daemonize();