[MERGED] osmo-bts[master]: common/pcu_sock.c: fix double field assignment

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Harald Welte gerrit-no-reply at lists.osmocom.org
Thu Mar 1 20:22:22 UTC 2018


Harald Welte has submitted this change and it was merged.

Change subject: common/pcu_sock.c: fix double field assignment
......................................................................


common/pcu_sock.c: fix double field assignment

The 'data_ind->rssi' variable is assigned values twice.

Change-Id: I81eb1ac3dc2aa3597b1c85301b92995412edbc7b
---
M src/common/pcu_sock.c
1 file changed, 0 insertions(+), 1 deletion(-)

Approvals:
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/src/common/pcu_sock.c b/src/common/pcu_sock.c
index e98769d..0f4c053 100644
--- a/src/common/pcu_sock.c
+++ b/src/common/pcu_sock.c
@@ -354,7 +354,6 @@
 	data_ind->trx_nr = ts->trx->nr;
 	data_ind->ts_nr = ts->nr;
 	data_ind->block_nr = block_nr;
-	data_ind->rssi = rssi;
 	data_ind->ber10k = ber10k;
 	data_ind->ta_offs_qbits = bto;
 	data_ind->lqual_cb = lqual;

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I81eb1ac3dc2aa3597b1c85301b92995412edbc7b
Gerrit-PatchSet: 1
Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Owner: Vadim Yanitskiy <axilirator at gmail.com>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder



More information about the gerrit-log mailing list