dexter has submitted this change and it was merged. ( 
https://gerrit.osmocom.org/12621 )

Change subject: chan_alloc: remove references to lchan_alloc()
......................................................................

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
---
M include/osmocom/bsc/chan_alloc.h
M src/osmo-bsc/abis_rsl.c
2 files changed, 0 insertions(+), 5 deletions(-)

Approvals:
  Jenkins Builder: Verified
  Vadim Yanitskiy: Looks good to me, but someone else must approve
  Harald Welte: Looks good to me, approved



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

--
To view, visit https://gerrit.osmocom.org/12621
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I36227ea306d28587ac70acbe596c7756b23d88c7
Gerrit-Change-Number: 12621
Gerrit-PatchSet: 1
Gerrit-Owner: dexter <pma...@sysmocom.de>
Gerrit-Reviewer: Harald Welte <lafo...@gnumonks.org>
Gerrit-Reviewer: Jenkins Builder (1000002)
Gerrit-Reviewer: Vadim Yanitskiy <axilira...@gmail.com>
Gerrit-Reviewer: dexter <pma...@sysmocom.de>

Reply via email to