summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVadim Yanitskiy <axilirator@gmail.com>2019-01-17 16:59:16 +0700
committerVadim Yanitskiy <axilirator@gmail.com>2019-02-21 17:25:00 +0700
commit2614aea2336c496ba055a41a193fb34c4cdaf7c5 (patch)
tree63d5f564f1dac99fdeca3b996403627558058dd9
parentc45e3f613936d848e7ea9dd1d02cd7b36bd9bc42 (diff)
trxcon/l1ctl_link.h: get rid of pointer to a trx_instancefixeria/trxcon
-rw-r--r--src/host/trxcon/l1ctl_link.h3
-rw-r--r--src/host/trxcon/trxcon.c1
2 files changed, 0 insertions, 4 deletions
diff --git a/src/host/trxcon/l1ctl_link.h b/src/host/trxcon/l1ctl_link.h
index ceeaa308..bf482b60 100644
--- a/src/host/trxcon/l1ctl_link.h
+++ b/src/host/trxcon/l1ctl_link.h
@@ -30,9 +30,6 @@ struct l1ctl_link {
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 ab294128..11668a94 100644
--- a/src/host/trxcon/trxcon.c
+++ b/src/host/trxcon/trxcon.c
@@ -235,7 +235,6 @@ int main(int argc, char **argv)
/* 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 */