[dpdk-dev] mbuf: remove deprecated internal function

Message ID 1470056688-2799-1-git-send-email-thomas.monjalon@6wind.com (mailing list archive)
State Accepted, archived
Headers

Commit Message

Thomas Monjalon Aug. 1, 2016, 1:04 p.m. UTC
  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 <thomas.monjalon@6wind.com>
---
 lib/librte_mbuf/rte_mbuf.h | 7 -------
 1 file changed, 7 deletions(-)
  

Comments

Thomas Monjalon Aug. 3, 2016, 4:50 p.m. UTC | #1
2016-08-01 15:04, Thomas Monjalon:
> 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 <thomas.monjalon@6wind.com>

Applied
  

Patch

diff --git a/lib/librte_mbuf/rte_mbuf.h b/lib/librte_mbuf/rte_mbuf.h
index 101485f..7ea66ed 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.