aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax <msuraev@sysmocom.de>2017-01-10 17:18:05 +0100
committerMax <msuraev@sysmocom.de>2017-01-10 17:18:05 +0100
commitde6d25e21d9a2e553fe53c50f2a9f372a28eeb16 (patch)
treed1dae0a81914bd9e3e5a55f069f97dffa6fa59d2
parent4723a195081f0f9ff561e360620ee0ade50a2b39 (diff)
Remove obsolete define TLVP_PRES_LEN
The libosmocore version required by configure.ac already has TLVP_PRES_LEN anyway. Change-Id: I3e33d9d1a6160ea17ab0a875c65a98129e3d19c1
-rw-r--r--src/common/oml.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/common/oml.c b/src/common/oml.c
index 88c9abd6..14824104 100644
--- a/src/common/oml.c
+++ b/src/common/oml.c
@@ -888,11 +888,6 @@ static int down_fom(struct gsm_bts *bts, struct msgb *msg)
* 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);