Change in osmo-bts[master]: gsm_data_shared: drop unused sacch_deact from struct gsm_lchan

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

laforge gerrit-no-reply at lists.osmocom.org
Thu Jun 4 22:20:11 UTC 2020


laforge has submitted this change. ( 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(-)

Approvals:
  Jenkins Builder: Verified
  laforge: Looks good to me, approved



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 <vyanitskiy at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200604/9709e7d3/attachment.htm>


More information about the gerrit-log mailing list