[PATCH] memzone: remove unnecessary null checks

Thomas Monjalon thomas at monjalon.net
Sun Jul 7 14:52:43 CEST 2024


19/06/2024 02:15, Tyler Retzlaff:
> 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>

Acked-by: Morten Brørup <mb at smartsharesystems.com>

Applied, thanks.




More information about the dev mailing list