From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?B?U8O2cmVu?= Brinkmann Date: Thu, 20 Nov 2014 17:29:08 +0000 Subject: Re: [PATCH 1/1] net: Xilinx: Deletion of unnecessary checks before two function calls Message-Id: <7b7454272cd247c18f32966e78b1b00b@BY2FFO11FD037.protection.gbl> List-Id: References: <530C5E18.1020800@users.sourceforge.net> <530CD2C4.4050903@users.sourceforge.net> <530CF8FF.8080600@users.sourceforge.net> <530DD06F.4090703@users.sourceforge.net> <5317A59D.4@users.sourceforge.net> <546DF1A2.8090208@users.sourceforge.net> In-Reply-To: <546DF1A2.8090208@users.sourceforge.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: linux-arm-kernel@lists.infradead.org On Thu, 2014-11-20 at 02:50PM +0100, SF Markus Elfring wrote: > From: Markus Elfring > Date: Thu, 20 Nov 2014 14:47:12 +0100 >=20 > The functions kfree() and of_node_put() test whether their argument is NU= LL > and then return immediately. Thus the test around the call is not needed. >=20 > This issue was detected by using the Coccinelle software. >=20 > Signed-off-by: Markus Elfring Reviewed-by: Soren Brinkmann S=C3=B6ren -- To unsubscribe from this list: send the line "unsubscribe kernel-janitors" = in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html