From bbb23cfc5bb2acb3559e803479dbf82f1178194c Mon Sep 17 00:00:00 2001 From: Pau Espin Pedrol Date: Thu, 1 Feb 2018 19:28:09 +0100 Subject: l1sap.c: l1sap_tch_rts_ind: Remove unused variables Commit a1fa955212e18ddca286a2c7d30333116406f56b added them without really making use of them. Change-Id: Ie7cd648a4b8a5ae59efc8953d6424a91a0f025ef --- src/common/l1sap.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'src/common/l1sap.c') diff --git a/src/common/l1sap.c b/src/common/l1sap.c index a36ad88a..d3f31112 100644 --- a/src/common/l1sap.c +++ b/src/common/l1sap.c @@ -827,8 +827,7 @@ static int l1sap_tch_rts_ind(struct gsm_bts_trx *trx, struct gsm_time g_time; struct gsm_lchan *lchan; uint8_t chan_nr, marker = 0; - uint16_t seq; - uint32_t fn, timestamp; + uint32_t fn; int rc; chan_nr = rts_ind->chan_nr; @@ -863,10 +862,6 @@ static int l1sap_tch_rts_ind(struct gsm_bts_trx *trx, } else { /* Obtain RTP header Marker bit from control buffer */ marker = rtpmsg_marker_bit(resp_msg); - /* Obtain RTP header Sequence Number from control buffer */ - seq = rtpmsg_seq(resp_msg); - /* Obtain RTP header Timestamp from control buffer */ - timestamp = rtpmsg_ts(resp_msg); resp_msg->l2h = resp_msg->data; msgb_push(resp_msg, sizeof(*resp_l1sap)); -- cgit v1.2.3