eal: simplify meson build of common directory
[dpdk.git] / lib / librte_eal / common / include / rte_malloc.h
index 3d4fad4..42ca051 100644 (file)
@@ -536,6 +536,7 @@ rte_malloc_dump_heaps(FILE *f);
  *   - 0: Success.
  *   - (-1): Error.
  */
+__rte_deprecated
 int
 rte_malloc_set_limit(const char *type, size_t max);
 
@@ -552,13 +553,6 @@ rte_malloc_set_limit(const char *type, size_t max);
 rte_iova_t
 rte_malloc_virt2iova(const void *addr);
 
-__rte_deprecated
-static inline phys_addr_t
-rte_malloc_virt2phy(const void *addr)
-{
-       return rte_malloc_virt2iova(addr);
-}
-
 #ifdef __cplusplus
 }
 #endif