fixeria has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/osmo-bts/+/18679 )


Change subject: gsm_data_shared: drop unused sacch_deact from struct gsm_lchan
......................................................................

gsm_data_shared: drop unused sacch_deact from struct gsm_lchan

Change-Id: I93c6bebbf715076c774248596089c77511733acc
---
M include/osmo-bts/gsm_data_shared.h
M src/common/l1sap.c
2 files changed, 0 insertions(+), 6 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/79/18679/1

diff --git a/include/osmo-bts/gsm_data_shared.h 
b/include/osmo-bts/gsm_data_shared.h
index da1dc36..d830758 100644
--- a/include/osmo-bts/gsm_data_shared.h
+++ b/include/osmo-bts/gsm_data_shared.h
@@ -160,9 +160,6 @@
        /* AMR bits */
        uint8_t mr_bts_lv[7];

-       /* Established data link layer services */
-       int sacch_deact;
-
        struct {
                uint32_t bound_ip;
                uint32_t connect_ip;
diff --git a/src/common/l1sap.c b/src/common/l1sap.c
index 99aa11b..84d4859 100644
--- a/src/common/l1sap.c
+++ b/src/common/l1sap.c
@@ -1749,7 +1749,6 @@
                }
        }

-       lchan->sacch_deact = 0;
        lchan->s = lchan->ts->trx->bts->radio_link_timeout;

        rc = l1sap_chan_act_dact_modify(trx, chan_nr, PRIM_INFO_ACTIVATE, 0);
@@ -1796,8 +1795,6 @@
        LOGPLCHAN(lchan, DL1C, LOGL_INFO, "deactivating sacch chan_nr=%s 
trx=%d\n",
                  rsl_chan_nr_str(chan_nr), trx->nr);

-       lchan->sacch_deact = 1;
-
        return l1sap_chan_act_dact_modify(trx, chan_nr, PRIM_INFO_DEACTIVATE,
                1);
 }

--
To view, visit https://gerrit.osmocom.org/c/osmo-bts/+/18679
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: I93c6bebbf715076c774248596089c77511733acc
Gerrit-Change-Number: 18679
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <vyanits...@sysmocom.de>
Gerrit-MessageType: newchange

Reply via email to