From 863dc9bc843a8053ade0fffd21219dbfe2ce4010 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Fri, 3 Feb 2012 20:29:00 +0100 Subject: [PATCH] abis_rsl.c: Remove unused variable net. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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] --- openbsc/src/libbsc/abis_rsl.c | 2 -- 1 file changed, 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) {