Change in osmo-bts[master]: scheduler: Drop unused function trx_sched_reset()

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

pespin gerrit-no-reply at lists.osmocom.org
Tue Sep 8 09:47:59 UTC 2020


pespin has submitted this change. ( https://gerrit.osmocom.org/c/osmo-bts/+/20011 )

Change subject: scheduler: Drop unused function trx_sched_reset()
......................................................................

scheduler: Drop unused function trx_sched_reset()

Change-Id: Id31e82b6bbfdd8030612c78737c0aa7dd7e20bd0
---
M include/osmo-bts/scheduler.h
M src/common/scheduler.c
2 files changed, 0 insertions(+), 11 deletions(-)

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



diff --git a/include/osmo-bts/scheduler.h b/include/osmo-bts/scheduler.h
index 47c0e9a..0d86347 100644
--- a/include/osmo-bts/scheduler.h
+++ b/include/osmo-bts/scheduler.h
@@ -192,10 +192,6 @@
 int trx_sched_set_cipher(struct l1sched_trx *l1t, uint8_t chan_nr, int downlink,
         int algo, uint8_t *key, int key_len);
 
-/* \brief close all logical channels and reset timeslots */
-void trx_sched_reset(struct l1sched_trx *l1t);
-
-
 /* frame structures */
 struct trx_sched_frame {
 	/*! \brief downlink TRX channel type */
diff --git a/src/common/scheduler.c b/src/common/scheduler.c
index c5b3830..e7cbc83 100644
--- a/src/common/scheduler.c
+++ b/src/common/scheduler.c
@@ -639,13 +639,6 @@
 	}
 }
 
-/* close all logical channels and reset timeslots */
-void trx_sched_reset(struct l1sched_trx *l1t)
-{
-	trx_sched_exit(l1t);
-	trx_sched_init(l1t, l1t->trx);
-}
-
 struct msgb *_sched_dequeue_prim(struct l1sched_trx *l1t, int8_t tn, uint32_t fn,
 				 enum trx_chan_type chan)
 {

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

Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: Id31e82b6bbfdd8030612c78737c0aa7dd7e20bd0
Gerrit-Change-Number: 20011
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy at sysmocom.de>
Gerrit-Reviewer: pespin <pespin at sysmocom.de>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200908/62abe713/attachment.htm>


More information about the gerrit-log mailing list