summaryrefslogtreecommitdiff
path: root/lib/librte_mbuf
diff options
context:
space:
mode:
authorDavid Marchand <david.marchand@6wind.com>2018-09-17 14:45:09 +0200
committerThomas Monjalon <thomas@monjalon.net>2018-09-19 10:35:01 +0200
commitc4833b8ed3ec586a4991286076e0f57486aeb7df (patch)
tree2db335cf4e69220307a9ae872a1d06f5855b4663 /lib/librte_mbuf
parent7abb521d2c4489bfb4fd0c2bd37e3050b06a9a8a (diff)
downloaddpdk-c4833b8ed3ec586a4991286076e0f57486aeb7df.zip
dpdk-c4833b8ed3ec586a4991286076e0f57486aeb7df.tar.gz
dpdk-c4833b8ed3ec586a4991286076e0f57486aeb7df.tar.xz
mbuf: remove deprecated segment free functions
__rte_mbuf_raw_free and __rte_pktmbuf_prefree_seg have been deprecated for a long time now (early 17.05), are not part of the abi and are easily replaced with existing api. Signed-off-by: David Marchand <david.marchand@6wind.com> Acked-by: Andrew Rybchenko <arybchenko@solarflare.com>
Diffstat (limited to 'lib/librte_mbuf')
-rw-r--r--lib/librte_mbuf/rte_mbuf.h16
1 files changed, 0 insertions, 16 deletions
diff --git a/lib/librte_mbuf/rte_mbuf.h b/lib/librte_mbuf/rte_mbuf.h
index 9ce5d76..a50b05c 100644
--- a/lib/librte_mbuf/rte_mbuf.h
+++ b/lib/librte_mbuf/rte_mbuf.h
@@ -1038,14 +1038,6 @@ rte_mbuf_raw_free(struct rte_mbuf *m)
rte_mempool_put(m->pool, m);
}
-/* compat with older versions */
-__rte_deprecated
-static inline void
-__rte_mbuf_raw_free(struct rte_mbuf *m)
-{
- rte_mbuf_raw_free(m);
-}
-
/**
* The packet mbuf constructor.
*
@@ -1658,14 +1650,6 @@ rte_pktmbuf_prefree_seg(struct rte_mbuf *m)
return NULL;
}
-/* deprecated, replaced by rte_pktmbuf_prefree_seg() */
-__rte_deprecated
-static inline struct rte_mbuf *
-__rte_pktmbuf_prefree_seg(struct rte_mbuf *m)
-{
- return rte_pktmbuf_prefree_seg(m);
-}
-
/**
* Free a segment of a packet mbuf into its original mempool.
*