Remove return from rte_free and eal_free_no_trace both functions are declared to have a return type of void so they shouldn't return a value.
Signed-off-by: Tyler Retzlaff <roret...@linux.microsoft.com> --- lib/eal/common/rte_malloc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/eal/common/rte_malloc.c b/lib/eal/common/rte_malloc.c index ebafef3..9db0c39 100644 --- a/lib/eal/common/rte_malloc.c +++ b/lib/eal/common/rte_malloc.c @@ -41,13 +41,13 @@ void rte_free(void *addr) { - return mem_free(addr, true); + mem_free(addr, true); } void eal_free_no_trace(void *addr) { - return mem_free(addr, false); + mem_free(addr, false); } static void * -- 1.8.3.1