mirror of
https://gitea.osmocom.org/cellular-infrastructure/osmo-mgw.git
synced 2025-11-02 13:03:33 +00:00
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:
@@ -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)
|
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) {
|
switch (lchan->tch_mode) {
|
||||||
case GSM48_CMODE_SPEECH_V1:
|
case GSM48_CMODE_SPEECH_V1:
|
||||||
switch (lchan->type) {
|
switch (lchan->type) {
|
||||||
|
|||||||
Reference in New Issue
Block a user