From 774020a8438b0e16d1bb68e2bec9ce9347272c8f Mon Sep 17 00:00:00 2001 From: Stefan Sperling Date: Thu, 25 Jan 2018 14:55:16 +0100 Subject: Remove an unused variable. Local variable is_lu in rsl_rx_chan_rqd() has been unused since commit 6082a377f57901302816a2e57e75a3f262b7b7e6. Change-Id: I67594afcfa4104e91352d50f40ae9f2bc20f4cd1 --- src/libbsc/abis_rsl.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'src/libbsc/abis_rsl.c') diff --git a/src/libbsc/abis_rsl.c b/src/libbsc/abis_rsl.c index b54fab8e1..eced0e25c 100644 --- a/src/libbsc/abis_rsl.c +++ b/src/libbsc/abis_rsl.c @@ -1860,7 +1860,6 @@ static int rsl_rx_chan_rqd(struct msgb *msg) enum gsm_chreq_reason_t chreq_reason; struct gsm_lchan *lchan; uint8_t rqd_ta; - int is_lu; uint16_t arfcn; uint8_t subch; @@ -1893,12 +1892,6 @@ static int rsl_rx_chan_rqd(struct msgb *msg) rate_ctr_inc(&bts->bts_ctrs->ctr[BTS_CTR_CHREQ_TOTAL]); - /* - * We want LOCATION UPDATES to succeed and will assign a TCH - * if we have no SDCCH available. - */ - is_lu = !!(chreq_reason == GSM_CHREQ_REASON_LOCATION_UPD); - /* check availability / allocate channel * * - First try to allocate SDCCH. -- cgit v1.2.3