summaryrefslogtreecommitdiffstats
path: root/src/host/trxcon/sched_lchan_xcch.c
diff options
context:
space:
mode:
authorVadim Yanitskiy <axilirator@gmail.com>2017-12-16 14:58:04 +0700
committerVadim Yanitskiy <axilirator@gmail.com>2017-12-16 15:24:54 +0700
commit3d872d0eae76b42b0fdf235f2df196c8bc5abb7c (patch)
treefa61cff0f1e0de05923e6d5ecb7e4709217a4ffe /src/host/trxcon/sched_lchan_xcch.c
parent2937cb4c16b6e5b9cf4fa139cfcaf678946f6cb2 (diff)
host/trxcon/scheduler: drop meaningless memset call
Diffstat (limited to 'src/host/trxcon/sched_lchan_xcch.c')
-rw-r--r--src/host/trxcon/sched_lchan_xcch.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/host/trxcon/sched_lchan_xcch.c b/src/host/trxcon/sched_lchan_xcch.c
index cae3b19f..0aff9ac5 100644
--- a/src/host/trxcon/sched_lchan_xcch.c
+++ b/src/host/trxcon/sched_lchan_xcch.c
@@ -61,13 +61,11 @@ int rx_data_fn(struct trx_instance *trx, struct trx_ts *ts,
LOGP(DSCHD, LOGL_DEBUG, "Data received on %s: fn=%u ts=%u bid=%u\n",
lchan_desc->name, fn, ts->index, bid);
- /* Clear buffer & store frame number of first burst */
+ /* Reset internal state */
if (bid == 0) {
/* Clean up old measurements */
memset(&lchan->meas, 0x00, sizeof(lchan->meas));
- memset(buffer, 0, 464);
-
*first_fn = fn;
*mask = 0x0;
}