[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <3qlPrt5jf7z9t3t@ozlabs.org>
Date: Wed, 13 Apr 2016 23:33:34 +1000 (AEST)
From: Michael Ellerman <mpe@...erman.id.au>
To: SF Markus Elfring <elfring@...rs.sourceforge.net>,
Ian Munsie <imunsie@....ibm.com>,
Michael Neuling <mikey@...ling.org>,
linuxppc-dev@...ts.ozlabs.org
Cc: Julia Lawall <julia.lawall@...6.fr>,
kernel-janitors@...r.kernel.org,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: cxl: Delete an unnecessary check before the function call "kfree"
On Fri, 2015-06-11 at 10:05:46 UTC, SF Markus Elfring wrote:
> From: Markus Elfring <elfring@...rs.sourceforge.net>
> 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 <elfring@...rs.sourceforge.net>
> Reviewed-by: Andrew Donnellan <andrew.donnellan@....ibm.com>
> Acked-by: Ian Munsie <imunsie@....ibm.com>
Applied to powerpc next, thanks.
https://git.kernel.org/powerpc/c/1050e689a63baffdadcd33498c
cheers
Powered by blists - more mailing lists