Change in osmo-bts[master]: gsm_data: Drop unused function gsm_pchan_parse()

pespin gerrit-no-reply at lists.osmocom.org
Tue Jun 29 14:09:22 UTC 2021


pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-bts/+/24800 )


Change subject: gsm_data: Drop unused function gsm_pchan_parse()
......................................................................

gsm_data: Drop unused function gsm_pchan_parse()

Change-Id: I8f49811c1b694c5ef1fb9178d5ff4558172089b0
---
M include/osmo-bts/gsm_data.h
M src/common/gsm_data.c
2 files changed, 0 insertions(+), 6 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/00/24800/1

diff --git a/include/osmo-bts/gsm_data.h b/include/osmo-bts/gsm_data.h
index 808b48a..20fe2b2 100644
--- a/include/osmo-bts/gsm_data.h
+++ b/include/osmo-bts/gsm_data.h
@@ -518,7 +518,6 @@
 extern const struct value_string gsm_pchant_names[13];
 extern const struct value_string gsm_pchant_descs[13];
 const char *gsm_pchan_name(enum gsm_phys_chan_config c);
-enum gsm_phys_chan_config gsm_pchan_parse(const char *name);
 const char *gsm_lchant_name(enum gsm_chan_t c);
 char *gsm_ts_name(const struct gsm_bts_trx_ts *ts);
 char *gsm_ts_and_pchan_name(const struct gsm_bts_trx_ts *ts);
diff --git a/src/common/gsm_data.c b/src/common/gsm_data.c
index 9afb61e..f533fb9 100644
--- a/src/common/gsm_data.c
+++ b/src/common/gsm_data.c
@@ -78,11 +78,6 @@
 	return get_value_string(gsm_pchant_names, c);
 }
 
-enum gsm_phys_chan_config gsm_pchan_parse(const char *name)
-{
-	return get_string_value(gsm_pchant_names, name);
-}
-
 /* TODO: move to libosmocore, next to gsm_chan_t_names? */
 const char *gsm_lchant_name(enum gsm_chan_t c)
 {

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-bts/+/24800
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: I8f49811c1b694c5ef1fb9178d5ff4558172089b0
Gerrit-Change-Number: 24800
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210629/6d834b31/attachment.htm>


More information about the gerrit-log mailing list