From 3120ac3f78ded9483b9ca8a2bc1e113eff78baf7 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Fri, 30 Apr 2010 14:19:48 +0200 Subject: remove the unneeded bts_link pointer from msgb --- include/osmocore/msgb.h | 5 ----- src/msgb.c | 1 - 2 files changed, 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 #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; -- cgit v1.2.3