remove the unneeded bts_link pointer from msgb
authorHarald Welte <laforge@gnumonks.org>
Fri, 30 Apr 2010 12:19:48 +0000 (14:19 +0200)
committerHarald Welte <laforge@gnumonks.org>
Fri, 30 Apr 2010 12:19:48 +0000 (14:19 +0200)
include/osmocore/msgb.h
src/msgb.c

index 31db719..31e54dc 100644 (file)
 #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;
index 60af373..aea92d4 100644 (file)
@@ -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;