eal: remove return from functions declared void return type
PATCH 1/1 eal: remove return from functions declared void return type
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.
--- lib/eal/common/rte_malloc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
lib/eal/common/rte_malloc.c +2 -2
@@ -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 *
Signature · 1 line
1.8.3.1
Quoted 8 lines
From: Tyler Retzlaff [mailto:[email protected]]
Sent: Tuesday, 17 October 2023 15.04Remove return from
rte_freeandeal_free_no_traceboth functions are declared to have a return type of void so they shouldn't return a value.Signed-off-by Tyler Retzlaff <[email protected]>---
Recheck-request: iol-broadcom-Functional
Sorry, this series was affected by an infra failure today.
Quoted 3 lines · Patrick Robb
Recheck-request: iol-broadcom-Functional
Sorry, this series was affected by an infra failure today.
No big deal, I haven't got a lot of concerns over the correctness of this particular series. :)
David Marchand
AppliedQuoted 9 lines · Morten Brørup
Quoted 8 lines
From: Tyler Retzlaff [mailto:[email protected]]
Sent: Tuesday, 17 October 2023 15.04Remove return from
rte_freeandeal_free_no_traceboth functions are declared to have a return type of void so they shouldn't return a value.Signed-off-by Tyler Retzlaff <[email protected]>Reviewed-by Morten Brørup <[email protected]>
Applied, thanks.
Signature · 1 line
David Marchand