Subject: Re: cxl: Delete an unnecessary check before the function call "kfree"

From: Michael Ellerman <[email-masked]>
Date: Wed, 13 Apr 2016 23:33:34 +1000 (AEST)

On Fri, 2015-06-11 at 10:05:46 UTC, SF Markus Elfring wrote:
> From: Markus Elfring <[email-masked]>
> Date: Fri, 6 Nov 2015 11:00:23 +0100
> 
> The kfree() function tests whether its argument is NULL and then
> returns immediately. Thus the test around the call is not needed.
> 
> This issue was detected by using the Coccinelle software.
> 
> Signed-off-by: Markus Elfring <[email-masked]>
> Reviewed-by: Andrew Donnellan <[email-masked]>
> Acked-by: Ian Munsie <[email-masked]>

Applied to powerpc next, thanks.

https://git.kernel.org/powerpc/c/1050e689a63baffdadcd33498c

cheers