From bf0d0c7c32efae34e572db74ef1f483102c86074 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Wed, 25 Dec 2013 20:22:35 +0100 Subject: tbf: Kill the tsc member as it duplicates data We can just use first_ts and the trx/pdch to extract this information. Avoid duplication of data. --- src/tbf.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/tbf.cpp') diff --git a/src/tbf.cpp b/src/tbf.cpp index b8b76ea9..a91193d2 100644 --- a/src/tbf.cpp +++ b/src/tbf.cpp @@ -1750,3 +1750,8 @@ void gprs_rlcmac_tbf::rotate_in_list() else llist_add(&list, &bts->bts_data()->dl_tbfs); } + +uint8_t gprs_rlcmac_tbf::tsc() const +{ + return trx->pdch[first_ts].tsc; +} -- cgit v1.2.3