aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2018-02-01 19:28:09 +0100
committerPau Espin Pedrol <pespin@sysmocom.de>2018-02-05 12:36:41 +0100
commitbbb23cfc5bb2acb3559e803479dbf82f1178194c (patch)
tree20d7fbd234aae639487e697b6cba918199bbeabf
parent61da9b3d2cde0883c90bd9f2f0041c9866df8a87 (diff)
l1sap.c: l1sap_tch_rts_ind: Remove unused variables
Commit a1fa955212e18ddca286a2c7d30333116406f56b added them without really making use of them. Change-Id: Ie7cd648a4b8a5ae59efc8953d6424a91a0f025ef
-rw-r--r--src/common/l1sap.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/common/l1sap.c b/src/common/l1sap.c
index a36ad88..d3f3111 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));