aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilipp Maier <pmaier@sysmocom.de>2019-01-10 12:10:47 +0100
committerPhilipp Maier <pmaier@sysmocom.de>2019-01-17 15:52:25 +0100
commit605c7f074a4dba6dca09cafcdc5b3a9e720c1436 (patch)
treea03d4b60f911f770e814fd27a95f6ea0a9c1812c
parent17cbe5cd2dd2c0a79835447b05bd379e121b3826 (diff)
chan_alloc: remove references to lchan_alloc()
The function lchan_alloc() does not exist anymore, however there is still a prototype definition in chan_alloc.h and a comment in abis_rsl.c. Lets remove those. Change-Id: I36227ea306d28587ac70acbe596c7756b23d88c7
-rw-r--r--include/osmocom/bsc/chan_alloc.h3
-rw-r--r--src/osmo-bsc/abis_rsl.c2
2 files changed, 0 insertions, 5 deletions
diff --git a/include/osmocom/bsc/chan_alloc.h b/include/osmocom/bsc/chan_alloc.h
index 97f6cb2..b509e3e 100644
--- a/include/osmocom/bsc/chan_alloc.h
+++ b/include/osmocom/bsc/chan_alloc.h
@@ -24,9 +24,6 @@
struct gsm_subscriber_connection;
-/* Allocate a logical channel (SDCCH, TCH, ...) */
-struct gsm_lchan *lchan_alloc(struct gsm_bts *bts, enum gsm_chan_t type, int allow_bigger);
-
/* Free a logical channel (SDCCH, TCH, ...) */
void lchan_free(struct gsm_lchan *lchan);
diff --git a/src/osmo-bsc/abis_rsl.c b/src/osmo-bsc/abis_rsl.c
index 8ffb07e..d67573f 100644
--- a/src/osmo-bsc/abis_rsl.c
+++ b/src/osmo-bsc/abis_rsl.c
@@ -1378,8 +1378,6 @@ static int rsl_rx_chan_rqd(struct msgb *msg)
* - If SDCCH is not available, try whatever MS requested, if not SDCCH.
* - If there is still no channel available, reject channel request.
*
- * lchan_alloc() possibly tries to allocate larger lchans.
- *
* Note: If the MS requests not TCH/H, we don't know if the phone
* supports TCH/H, so we must assign TCH/F or SDCCH.
*/