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

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

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


pespin has submitted this change. ( 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(-)

Approvals:
  Jenkins Builder: Verified
  dexter: Looks good to me, approved
  fixeria: Looks good to me, but someone else must approve



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-Reviewer: Jenkins Builder
Gerrit-Reviewer: dexter <pmaier at sysmocom.de>
Gerrit-Reviewer: fixeria <vyanitskiy at sysmocom.de>
Gerrit-Reviewer: pespin <pespin at sysmocom.de>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210629/6fce3ed6/attachment.htm>


More information about the gerrit-log mailing list