summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2010-04-30 14:19:48 +0200
committerHarald Welte <laforge@gnumonks.org>2010-04-30 14:19:48 +0200
commit3120ac3f78ded9483b9ca8a2bc1e113eff78baf7 (patch)
treea7d8e7f358a3a0182b09ce8e18df7ec0861fc6cc
parent100224df0b711c7bf6c1150ce18cf595350cf0bd (diff)
remove the unneeded bts_link pointer from msgb
-rw-r--r--include/osmocore/msgb.h5
-rw-r--r--src/msgb.c1
2 files changed, 0 insertions, 6 deletions
diff --git a/include/osmocore/msgb.h b/include/osmocore/msgb.h
index 31db7194..31e54dcd 100644
--- a/include/osmocore/msgb.h
+++ b/include/osmocore/msgb.h
@@ -23,14 +23,9 @@
#include <stdint.h>
#include "linuxlist.h"
-struct bts_link;
-
struct msgb {
struct llist_head list;
- /* ptr to the physical E1 link to the BTS(s) */
- struct gsm_bts_link *bts_link;
-
/* Part of which TRX logical channel we were received / transmitted */
struct gsm_bts_trx *trx;
struct gsm_lchan *lchan;
diff --git a/src/msgb.c b/src/msgb.c
index 60af373e..aea92d44 100644
--- a/src/msgb.c
+++ b/src/msgb.c
@@ -80,7 +80,6 @@ void msgb_reset(struct msgb *msg)
msg->head = msg->_data;
msg->tail = msg->_data;
- msg->bts_link = NULL;
msg->trx = NULL;
msg->lchan = NULL;
msg->l2h = NULL;