Change in osmo-bsc[master]: chan_alloc: remove references to lchan_alloc()

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

dexter gerrit-no-reply at lists.osmocom.org
Thu Jan 17 17:28:57 UTC 2019


dexter has uploaded this change for review. ( 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(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-bsc refs/changes/21/12621/1

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: newchange
Gerrit-Change-Id: I36227ea306d28587ac70acbe596c7756b23d88c7
Gerrit-Change-Number: 12621
Gerrit-PatchSet: 1
Gerrit-Owner: dexter <pmaier at sysmocom.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190117/cb6771aa/attachment.htm>


More information about the gerrit-log mailing list