aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2020-10-09 20:57:55 +0200
committerpespin <pespin@sysmocom.de>2020-10-13 08:54:36 +0000
commitca5d1e6ba606cacbe6a10f292f4ce6d50767c815 (patch)
tree24989456b66240a63c2d178ae0f8e1716a00b568
parente1de96088db39e982e374e27c76432e3b05a119a (diff)
Drop unused param in oml_init()
-rw-r--r--include/osmo-bts/oml.h2
-rw-r--r--src/common/abis.c2
-rw-r--r--src/common/oml.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/include/osmo-bts/oml.h b/include/osmo-bts/oml.h
index 484e210b..0689bb05 100644
--- a/include/osmo-bts/oml.h
+++ b/include/osmo-bts/oml.h
@@ -32,7 +32,7 @@ struct gsm_abis_mo {
struct gsm_bts *bts;
};
-int oml_init(struct gsm_abis_mo *mo);
+int oml_init(void);
int down_oml(struct gsm_bts *bts, struct msgb *msg);
struct msgb *oml_msgb_alloc(void);
diff --git a/src/common/abis.c b/src/common/abis.c
index 4c62e8f4..5b914c76 100644
--- a/src/common/abis.c
+++ b/src/common/abis.c
@@ -259,7 +259,7 @@ void abis_init(struct gsm_bts *bts)
{
g_bts = bts;
- oml_init(&bts->mo);
+ oml_init();
libosmo_abis_init(tall_bts_ctx);
osmo_signal_register_handler(SS_L_INPUT, &inp_s_cbfn, bts);
diff --git a/src/common/oml.c b/src/common/oml.c
index 2a87b031..e48f9435 100644
--- a/src/common/oml.c
+++ b/src/common/oml.c
@@ -1544,7 +1544,7 @@ int down_oml(struct gsm_bts *bts, struct msgb *msg)
return ret;
}
-int oml_init(struct gsm_abis_mo *mo)
+int oml_init()
{
DEBUGP(DOML, "Initializing OML attribute definitions\n");
tlv_def_patch(&abis_nm_att_tlvdef_ipa_local, &abis_nm_att_tlvdef_ipa);