diff options
author | Daniel Willmann <dwillmann@sysmocom.de> | 2014-09-17 17:58:29 +0200 |
---|---|---|
committer | Daniel Willmann <daniel@totalueberwachung.de> | 2014-09-17 17:59:03 +0200 |
commit | 635d47c78c0adb972bab16f453867c7a2129c341 (patch) | |
tree | da520d8d29745669715252e8a734924cabfd7135 | |
parent | 1c15573012191e7820dabbec20d6071aea2d8b96 (diff) |
tbf_dl: Fix warnings
Remove unused log argument (cnp bug) and unused variable
-rw-r--r-- | src/tbf_dl.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/tbf_dl.cpp b/src/tbf_dl.cpp index feed6c78..8de3b2b6 100644 --- a/src/tbf_dl.cpp +++ b/src/tbf_dl.cpp @@ -498,8 +498,7 @@ struct msgb *gprs_rlcmac_dl_tbf::create_dl_acked_block( "polling, because first final block sent.\n"); } else if (need_poll) { LOGP(DRLCMACDL, LOGL_DEBUG, "- Scheduling Ack/Nack " - "polling, because polling timed out.\n", - POLL_ACK_AFTER_FRAMES); + "polling, because polling timed out.\n"); } else { LOGP(DRLCMACDL, LOGL_DEBUG, "- Scheduling Ack/Nack " "polling, because %d blocks sent.\n", @@ -656,7 +655,6 @@ void gprs_rlcmac_dl_tbf::reuse_tbf(const uint8_t *data, const uint16_t len) uint8_t trx; struct gprs_rlcmac_dl_tbf *new_tbf; int8_t tfi; /* must be signed */ - int rc; struct msgb *msg; bts->tbf_reused(); |