aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2020-09-07 10:23:25 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2020-09-07 10:23:25 +0200
commit81251bdbe8e48ab71d0a5edf796d4a268d236c3f (patch)
tree5846a27545109cb56dd17533d97d39716511b9f2
parentc84b007efbbdb43d270dff071b1b5cf1191e37ea (diff)
scheduler: Drop unused function trx_sched_reset()
-rw-r--r--include/osmo-bts/scheduler.h4
-rw-r--r--src/common/scheduler.c7
2 files changed, 0 insertions, 11 deletions
diff --git a/include/osmo-bts/scheduler.h b/include/osmo-bts/scheduler.h
index 47c0e9a6..0d863474 100644
--- a/include/osmo-bts/scheduler.h
+++ b/include/osmo-bts/scheduler.h
@@ -192,10 +192,6 @@ int trx_sched_set_mode(struct l1sched_trx *l1t, uint8_t chan_nr, uint8_t rsl_cmo
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 c5b38307..e7cbc83f 100644
--- a/src/common/scheduler.c
+++ b/src/common/scheduler.c
@@ -639,13 +639,6 @@ void trx_sched_exit(struct l1sched_trx *l1t)
}
}
-/* 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)
{