aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2022-05-04 11:36:30 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2022-05-04 11:37:06 +0200
commit780c8a76dc6bec4477e18772bc5364a4dde891fd (patch)
tree1a3b679ca6c0672fbcfdff60134f4cc154a16e19
parent5e2ac29703b4b05f202734698fecdb04b4461bd8 (diff)
paging: Remove TODO comment
That function is used to get the number of paging groups, so it doesn't apply here. Change-Id: I980c0961e86d9464235ea9c403adba6b0eded58e
-rw-r--r--src/osmo-bsc/paging.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/osmo-bsc/paging.c b/src/osmo-bsc/paging.c
index 90a0d1264..e7a0ee2dc 100644
--- a/src/osmo-bsc/paging.c
+++ b/src/osmo-bsc/paging.c
@@ -641,7 +641,6 @@ void paging_flush_network(struct gsm_network *net, struct bsc_msc_data *msc)
/*! Estimate available_slots credit over a time period, used when below CCCH Load Indication Threshold */
uint16_t paging_estimate_available_slots(struct gsm_bts *bts, unsigned int time_span_s)
{
- /* TODO: use gsm48_number_of_paging_subchannels() instead? */
unsigned int n_pag_blocks = gsm0502_get_n_pag_blocks(&bts->si_common.chan_desc);
uint16_t available_slots = n_pag_blocks * time_span_s * 1000000 / GSM51_MFRAME_DURATION_us;
LOG_BTS(bts, DPAG, LOGL_DEBUG, "Estimated %u paging available_slots over %u seconds\n",