Change in osmocom-bb[master]: trxcon/l1ctl_link.h: get rid of pointer to a trx_instance

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/.

Vadim Yanitskiy gerrit-no-reply at lists.osmocom.org
Thu Jan 17 12:40:15 UTC 2019


Vadim Yanitskiy has uploaded this change for review. ( https://gerrit.osmocom.org/12614


Change subject: trxcon/l1ctl_link.h: get rid of pointer to a trx_instance
......................................................................

trxcon/l1ctl_link.h: get rid of pointer to a trx_instance

Change-Id: Ie154a9d25dd0e8828fa2c278c98f9d8ba8c037e3
---
M src/host/trxcon/l1ctl_link.h
M src/host/trxcon/trxcon.c
2 files changed, 0 insertions(+), 4 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmocom-bb refs/changes/14/12614/1

diff --git a/src/host/trxcon/l1ctl_link.h b/src/host/trxcon/l1ctl_link.h
index ceeaa30..bf482b6 100644
--- a/src/host/trxcon/l1ctl_link.h
+++ b/src/host/trxcon/l1ctl_link.h
@@ -30,9 +30,6 @@
 	struct osmo_fd listen_bfd;
 	struct osmo_wqueue wq;
 
-	/* Bind TRX instance */
-	struct trx_instance *trx;
-
 	/* L1CTL handlers specific */
 	struct osmo_timer_list fbsb_timer;
 	uint8_t fbsb_conf_sent;
diff --git a/src/host/trxcon/trxcon.c b/src/host/trxcon/trxcon.c
index ab29412..11668a9 100644
--- a/src/host/trxcon/trxcon.c
+++ b/src/host/trxcon/trxcon.c
@@ -235,7 +235,6 @@
 
 	/* Bind L1CTL with TRX and vice versa
 	 * TODO: get rid of this, they should be abstracted */
-	trxcon->l1l->trx = trxcon->trx;
 	trxcon->trx->l1l = trxcon->l1l;
 
 	/* Init scheduler */

-- 
To view, visit https://gerrit.osmocom.org/12614
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmocom-bb
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie154a9d25dd0e8828fa2c278c98f9d8ba8c037e3
Gerrit-Change-Number: 12614
Gerrit-PatchSet: 1
Gerrit-Owner: Vadim Yanitskiy <axilirator at gmail.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190117/9454f4c4/attachment.htm>


More information about the gerrit-log mailing list