[dpdk-dev] [PATCH] malloc: deprecate unused set limit
Thomas Monjalon
thomas at monjalon.net
Mon Jul 1 18:37:25 CEST 2019
27/06/2019 00:32, Stephen Hemminger:
> The function rte_malloc_set_limit was defined but never implemented.
> Mark it as deprecated for now, and remove in next release.
>
> There is no point in keeping dead code.
> "You Aren't Going to Need It"
>
> Signed-off-by: Stephen Hemminger <stephen at networkplumber.org>
> ---
> -int
> +int __rte_deprecated
> rte_malloc_set_limit(const char *type, size_t max);
Tag moved in a separate line before the return type.
Applied, thanks
More information about the dev
mailing list