[PATCH] memzone: remove unnecessary null checks
Morten Brørup
mb at smartsharesystems.com
Wed Jun 19 09:14:30 CEST 2024
> From: Stephen Hemminger [mailto:stephen at networkplumber.org]
>
> The function rte_memzone_free() already checks if the argument
> is NULL. Add it to the coccinelle fix script and correct
> all the existing code.
>
> Signed-off-by: Stephen Hemminger <stephen at networkplumber.org>
> ---
Acked-by: Morten Brørup <mb at smartsharesystems.com>
More information about the dev
mailing list