diff options
author | Max <msuraev@sysmocom.de> | 2016-08-04 13:40:36 +0200 |
---|---|---|
committer | Max <msuraev@sysmocom.de> | 2016-10-11 15:31:49 +0200 |
commit | 395e213894b13044b8b051281c49f2f9ef1aae90 (patch) | |
tree | 9985a0fc14864a4ffc40c53c45a488abafacef35 /gtp | |
parent | 03dbafb000c88155309dfd67b3bba73f7b389e69 (diff) |
Remove unused function
Change-Id: Iff0f1499660b12a47277b16a435efecb42fab038
Diffstat (limited to 'gtp')
-rw-r--r-- | gtp/pdp.c | 11 | ||||
-rw-r--r-- | gtp/pdp.h | 1 |
2 files changed, 0 insertions, 12 deletions
@@ -370,14 +370,3 @@ void pdp_set_imsi_nsapi(struct pdp_t *pdp, uint64_t teid) pdp->imsi = teid & 0x0fffffffffffffffull; pdp->nsapi = (teid & 0xf000000000000000ull) >> 60; } - -int ulcpy(void *dst, void *src, size_t size) -{ - if (((struct ul255_t *)src)->l <= size) { - ((struct ul255_t *)dst)->l = ((struct ul255_t *)src)->l; - memcpy(((struct ul255_t *)dst)->v, ((struct ul255_t *)src)->v, - ((struct ul255_t *)dst)->l); - return 0; - } else - return EOF; -} @@ -252,6 +252,5 @@ int pdp_ipget(struct pdp_t **pdp, void* ipif, struct ul66_t *eua); int pdp_ntoeua(struct in_addr *src, struct ul66_t *eua); int pdp_euaton(struct ul66_t *eua, struct in_addr *dst); uint64_t pdp_gettid(uint64_t imsi, uint8_t nsapi); -int ulcpy(void *dst, void *src, size_t size); #endif /* !_PDP_H */ |