summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVadim Yanitskiy <axilirator@gmail.com>2022-02-03 02:23:41 +0600
committerVadim Yanitskiy <vyanitskiy@sysmocom.de>2022-02-03 03:43:11 +0600
commit18605ebcbd3d6ffc086e4d87ca781edab15e81ad (patch)
tree9e84866102c966fcbcb88be96a9dfa04d274b556
parent9f2613d7c13dceb06a2b630afa29df9fd67b0380 (diff)
layer23/ccch_scan: fix unused variable in local_burst_decode()
-rw-r--r--src/host/layer23/src/misc/app_ccch_scan.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/host/layer23/src/misc/app_ccch_scan.c b/src/host/layer23/src/misc/app_ccch_scan.c
index 2deb6b07..96deb98c 100644
--- a/src/host/layer23/src/misc/app_ccch_scan.c
+++ b/src/host/layer23/src/misc/app_ccch_scan.c
@@ -540,7 +540,6 @@ int gsm48_rx_bcch(struct msgb *msg, struct osmocom_ms *ms)
static void
local_burst_decode(struct l1ctl_burst_ind *bi)
{
- int16_t rx_dbm;
uint16_t arfcn;
uint32_t fn;
uint8_t cbits, tn, lch_idx;
@@ -550,7 +549,6 @@ local_burst_decode(struct l1ctl_burst_ind *bi)
/* Get params (Only for SDCCH and SACCH/{4,8,F,H}) */
arfcn = ntohs(bi->band_arfcn);
- rx_dbm = rxlev2dbm(bi->rx_level);
fn = ntohl(bi->frame_nr);
ul = !!(arfcn & ARFCN_UPLINK);