[PATCH] memzone: remove unnecessary null checks
Tyler Retzlaff
roretzla at linux.microsoft.com
Wed Jun 19 02:15:05 CEST 2024
On Tue, Jun 18, 2024 at 04:25:08PM -0700, Stephen Hemminger wrote:
> 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>
> ---
Reviewed-by: Tyler Retzlaff <roretzla at linux.microsoft.com>
More information about the dev
mailing list