Review at  https://gerrit.osmocom.org/6799

host/trxcon/scheduler: drop meaningless memset call

Change-Id: I18a938cef350632673cfc820beed5e42f40d89e7
---
M src/host/trxcon/sched_lchan_xcch.c
1 file changed, 1 insertion(+), 3 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/osmocom-bb refs/changes/99/6799/1

diff --git a/src/host/trxcon/sched_lchan_xcch.c 
b/src/host/trxcon/sched_lchan_xcch.c
index cae3b19..0aff9ac 100644
--- a/src/host/trxcon/sched_lchan_xcch.c
+++ b/src/host/trxcon/sched_lchan_xcch.c
@@ -61,12 +61,10 @@
        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;

-- 
To view, visit https://gerrit.osmocom.org/6799
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I18a938cef350632673cfc820beed5e42f40d89e7
Gerrit-PatchSet: 1
Gerrit-Project: osmocom-bb
Gerrit-Branch: master
Gerrit-Owner: Harald Welte <lafo...@gnumonks.org>

Reply via email to