aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2012-02-03 20:29:00 +0100
committerHolger Hans Peter Freyther <zecke@selfish.org>2012-02-03 20:29:00 +0100
commit863dc9bc843a8053ade0fffd21219dbfe2ce4010 (patch)
treebadac2d27d2abf53cfbdea2ba06fe4f8dbaf5c61 /openbsc
parent54fa2c7eab57a0b044ea82956f3c82e68b7b580a (diff)
abis_rsl.c: Remove unused variable net.
The old BSC code had code to override the payload type, this has been removed, remove the variable accessing it. GCC warning: abis_rsl.c: In function ‘ipa_rtp_pt_for_lchan’: abis_rsl.c:1590:22: warning: unused variable ‘net’ [-Wunused-variable]
Diffstat (limited to 'openbsc')
-rw-r--r--openbsc/src/libbsc/abis_rsl.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/openbsc/src/libbsc/abis_rsl.c b/openbsc/src/libbsc/abis_rsl.c
index 841afab1b..d2bae91b9 100644
--- a/openbsc/src/libbsc/abis_rsl.c
+++ b/openbsc/src/libbsc/abis_rsl.c
@@ -1590,8 +1590,6 @@ static uint8_t ipa_smod_s_for_lchan(struct gsm_lchan *lchan)
static uint8_t ipa_rtp_pt_for_lchan(struct gsm_lchan *lchan)
{
- struct gsm_network *net = lchan->ts->trx->bts->network;
-
switch (lchan->tch_mode) {
case GSM48_CMODE_SPEECH_V1:
switch (lchan->type) {