Re: [PATCH 1/2] liquidio: remove unnecessary NULL check before kfree in delete_glists

From: David Miller
Date: Thu Oct 19 2017 - 08:28:27 EST


From: "Gustavo A. R. Silva" <garsilva@xxxxxxxxxxxxxx>
Date: Tue, 17 Oct 2017 13:59:20 -0500

> NULL check before freeing functions like kfree is not needed.
>
> This issue was detected with the help of Coccinelle.
>
> Signed-off-by: Gustavo A. R. Silva <garsilva@xxxxxxxxxxxxxx>

Applied to net-next.