[PATCH] osmo-ggsn[master]: gtp/gtp.c: Remove unused function char2ul_t

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

Pau Espin Pedrol gerrit-no-reply at lists.osmocom.org
Fri Jan 26 14:07:11 UTC 2018


Hello Harald Welte, Jenkins Builder,

I'd like you to reexamine a change.  Please visit

    https://gerrit.osmocom.org/6074

to look at the new patch set (#2).

gtp/gtp.c: Remove unused function char2ul_t

Change-Id: I0d7493404ea05ce2e795958041bbb6cb75a04d31
---
M gtp/gtp.c
1 file changed, 0 insertions(+), 9 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/osmo-ggsn refs/changes/74/6074/2

diff --git a/gtp/gtp.c b/gtp/gtp.c
index 9dabcd2..5b430b7 100644
--- a/gtp/gtp.c
+++ b/gtp/gtp.c
@@ -3296,15 +3296,6 @@
  * Conversion functions
  *************************************************************/
 
-int char2ul_t(char *src, struct ul_t dst)
-{
-	dst.l = strlen(src) + 1;
-	dst.v = malloc(dst.l);
-	dst.v[0] = dst.l - 1;
-	memcpy(&dst.v[1], src, dst.v[0]);
-	return 0;
-}
-
 /* ***********************************************************
  * IP address conversion functions
  * There exist several types of address representations:

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

Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I0d7493404ea05ce2e795958041bbb6cb75a04d31
Gerrit-PatchSet: 2
Gerrit-Project: osmo-ggsn
Gerrit-Branch: master
Gerrit-Owner: Pau Espin Pedrol <pespin at sysmocom.de>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder



More information about the gerrit-log mailing list