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]
This commit is contained in:
Holger Hans Peter Freyther 2012-02-03 20:29:00 +01:00
parent 54fa2c7eab
commit 863dc9bc84
1 changed files with 0 additions and 2 deletions

View File

@ -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) {