From 6a90a568ff51d556cfb55ecebb48f1fac67af542 Mon Sep 17 00:00:00 2001 From: Thomas Monjalon Date: Mon, 1 Aug 2016 14:54:06 +0200 Subject: [PATCH] mbuf: remove deprecated internal function The function __rte_mbuf_raw_alloc was reserved for internal use and has been deprecated in favor of the public function rte_mbuf_raw_alloc. It can be safely removed now. Signed-off-by: Thomas Monjalon --- lib/librte_mbuf/rte_mbuf.h | 7 ------- 1 file changed, 7 deletions(-) diff --git a/lib/librte_mbuf/rte_mbuf.h b/lib/librte_mbuf/rte_mbuf.h index 101485fbde..7ea66ed9c6 100644 --- a/lib/librte_mbuf/rte_mbuf.h +++ b/lib/librte_mbuf/rte_mbuf.h @@ -1157,13 +1157,6 @@ static inline struct rte_mbuf *rte_mbuf_raw_alloc(struct rte_mempool *mp) return m; } -/* compat with older versions */ -__rte_deprecated static inline struct rte_mbuf * -__rte_mbuf_raw_alloc(struct rte_mempool *mp) -{ - return rte_mbuf_raw_alloc(mp); -} - /** * @internal Put mbuf back into its original mempool. * The use of that function is reserved for RTE internal needs. -- 2.20.1