[PATCH] openbsc[master]: abis_om2000: drop unused function con_group_del()

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

Neels Hofmeyr gerrit-no-reply at lists.osmocom.org
Thu Jan 26 00:47:14 UTC 2017


Review at  https://gerrit.osmocom.org/1680

abis_om2000: drop unused function con_group_del()

Change-Id: Idc47bf790fb680a3c322342170369993ec02f73a
---
M openbsc/src/libbsc/abis_om2000_vty.c
1 file changed, 0 insertions(+), 14 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/openbsc refs/changes/80/1680/1

diff --git a/openbsc/src/libbsc/abis_om2000_vty.c b/openbsc/src/libbsc/abis_om2000_vty.c
index adad479..3e2ac48 100644
--- a/openbsc/src/libbsc/abis_om2000_vty.c
+++ b/openbsc/src/libbsc/abis_om2000_vty.c
@@ -273,20 +273,6 @@
 	return ent;
 }
 
-static int con_group_del(struct gsm_bts *bts, uint8_t cg_id)
-{
-	struct con_group *cg, *cg2;
-
-	llist_for_each_entry_safe(cg, cg2, &bts->rbs2000.con.conn_groups, list) {
-		if (cg->cg == cg_id) {
-			llist_del(&cg->list);
-			talloc_free(cg);
-			return 0;
-		};
-	}
-	return -ENOENT;
-}
-
 static void con_group_add_path(struct con_group *cg, uint16_t ccp,
 				uint8_t ci, uint8_t tag, uint8_t tei)
 {

-- 
To view, visit https://gerrit.osmocom.org/1680
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Idc47bf790fb680a3c322342170369993ec02f73a
Gerrit-PatchSet: 1
Gerrit-Project: openbsc
Gerrit-Branch: master
Gerrit-Owner: Neels Hofmeyr <nhofmeyr at sysmocom.de>



More information about the gerrit-log mailing list