Change in osmo-bts[master]: Drop unused param in oml_init()

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

pespin gerrit-no-reply at lists.osmocom.org
Fri Oct 9 20:00:13 UTC 2020


pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-bts/+/20527 )


Change subject: Drop unused param in oml_init()
......................................................................

Drop unused param in oml_init()

Change-Id: I96d8359f4ae13c9f47cc87d87fde6d2047169a49
---
M include/osmo-bts/oml.h
M src/common/abis.c
M src/common/oml.c
3 files changed, 3 insertions(+), 3 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/27/20527/1

diff --git a/include/osmo-bts/oml.h b/include/osmo-bts/oml.h
index 484e210..0689bb0 100644
--- a/include/osmo-bts/oml.h
+++ b/include/osmo-bts/oml.h
@@ -32,7 +32,7 @@
 	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 4c62e8f..5b914c7 100644
--- a/src/common/abis.c
+++ b/src/common/abis.c
@@ -259,7 +259,7 @@
 {
 	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 2a87b03..e48f943 100644
--- a/src/common/oml.c
+++ b/src/common/oml.c
@@ -1544,7 +1544,7 @@
 	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);

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-bts/+/20527
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: I96d8359f4ae13c9f47cc87d87fde6d2047169a49
Gerrit-Change-Number: 20527
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20201009/4f678734/attachment.htm>


More information about the gerrit-log mailing list