[PATCH] osmo-bts[master]: Remove obsolete define TLVP_PRES_LEN

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/.

Max gerrit-no-reply at lists.osmocom.org
Tue Jan 10 16:19:35 UTC 2017


Review at  https://gerrit.osmocom.org/1559

Remove obsolete define TLVP_PRES_LEN

The libosmocore version required by configure.ac already has
TLVP_PRES_LEN anyway.

Change-Id: I3e33d9d1a6160ea17ab0a875c65a98129e3d19c1
---
M src/common/oml.c
1 file changed, 0 insertions(+), 5 deletions(-)


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

diff --git a/src/common/oml.c b/src/common/oml.c
index 88c9abd..1482410 100644
--- a/src/common/oml.c
+++ b/src/common/oml.c
@@ -888,11 +888,6 @@
  * manufacturer related messages
  */
 
-#ifndef TLVP_PRES_LEN /* old libosmocore */
-#define TLVP_PRES_LEN(tp, tag, min_len) \
-	(TLVP_PRESENT(tp, tag) && TLVP_LEN(tp, tag) >= min_len)
-#endif
-
 static int oml_ipa_mo_set_attr_nse(void *obj, struct tlv_parsed *tp)
 {
 	struct gsm_bts *bts = container_of(obj, struct gsm_bts, gprs.nse);

-- 
To view, visit https://gerrit.osmocom.org/1559
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I3e33d9d1a6160ea17ab0a875c65a98129e3d19c1
Gerrit-PatchSet: 1
Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Owner: Max <msuraev at sysmocom.de>



More information about the gerrit-log mailing list