aboutsummaryrefslogtreecommitdiffstats
path: root/src/gprs_rlcmac_data.cpp
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2013-10-17 13:48:11 +0200
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2013-10-30 21:20:45 +0100
commit9f521cd4af46f5cc43e43c518c6a1b7e62f474ab (patch)
tree206d3fa0981ff34f65c78b779d72d5f7400f99c2 /src/gprs_rlcmac_data.cpp
parentb0250ebeac1d1a20c0448a81f3609ddf3ec7517d (diff)
bts: Remove global state from gprs_rlcmac_send_packet_downlink_assignment
Diffstat (limited to 'src/gprs_rlcmac_data.cpp')
-rw-r--r--src/gprs_rlcmac_data.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/gprs_rlcmac_data.cpp b/src/gprs_rlcmac_data.cpp
index b95bf2d4..eb6e21ab 100644
--- a/src/gprs_rlcmac_data.cpp
+++ b/src/gprs_rlcmac_data.cpp
@@ -1587,8 +1587,6 @@ int gprs_rlcmac_downlink_ack(struct gprs_rlcmac_bts *bts,
/* check for LLC PDU in the LLC Queue */
msg = llc_dequeue(tbf);
if (!msg) {
- struct gprs_rlcmac_bts *bts = gprs_rlcmac_bts;
-
/* no message, start T3193, change state to RELEASE */
LOGP(DRLCMACDL, LOGL_DEBUG, "- No new message, so we "
"release.\n");
@@ -1620,9 +1618,9 @@ int gprs_rlcmac_downlink_ack(struct gprs_rlcmac_bts *bts,
struct msgb *gprs_rlcmac_send_packet_downlink_assignment(
+ struct gprs_rlcmac_bts *bts,
struct gprs_rlcmac_tbf *tbf, uint32_t fn)
{
- struct gprs_rlcmac_bts *bts = gprs_rlcmac_bts;
struct msgb *msg;
struct gprs_rlcmac_tbf *new_tbf;
int poll_ass_dl = POLLING_ASSIGNMENT_DL;