diff options
author | Philipp Maier <pmaier@sysmocom.de> | 2017-07-03 13:15:03 +0200 |
---|---|---|
committer | Philipp Maier <pmaier@sysmocom.de> | 2017-07-03 13:15:03 +0200 |
commit | edc140f90ed28a779d392daecbd120a46af3b754 (patch) | |
tree | e1eb6a26114601f0b8ae2f554ef8de10a6fd3bda /openbsc | |
parent | 6cd9cc0fca48a71bc01fbefa4afa958421603f9b (diff) |
a_iface: remove unused variable
Diffstat (limited to 'openbsc')
-rw-r--r-- | openbsc/include/openbsc/a_iface.h | 2 | ||||
-rw-r--r-- | openbsc/src/libmsc/a_iface.c | 2 | ||||
-rw-r--r-- | openbsc/src/osmo-msc/msc_main.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/openbsc/include/openbsc/a_iface.h b/openbsc/include/openbsc/a_iface.h index 124a5d2ee..4c51a7f4a 100644 --- a/openbsc/include/openbsc/a_iface.h +++ b/openbsc/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/openbsc/src/libmsc/a_iface.c b/openbsc/src/libmsc/a_iface.c index f98a1c6bc..5ed7c5790 100644 --- a/openbsc/src/libmsc/a_iface.c +++ b/openbsc/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/openbsc/src/osmo-msc/msc_main.c b/openbsc/src/osmo-msc/msc_main.c index 5b4acd2bc..06e228aa2 100644 --- a/openbsc/src/osmo-msc/msc_main.c +++ b/openbsc/src/osmo-msc/msc_main.c @@ -511,7 +511,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(); |