[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <51b41b85-c9d1-818c-f5a6-f9b04e8a7caf@suse.com>
Date: Wed, 20 Jul 2016 13:44:15 +0200
From: Juergen Gross <jgross@...e.com>
To: SF Markus Elfring <elfring@...rs.sourceforge.net>,
xen-devel@...ts.xenproject.org, linux-scsi@...r.kernel.org,
David Vrabel <david.vrabel@...rix.com>,
Boris Ostrovsky <boris.ostrovsky@...cle.com>
Cc: LKML <linux-kernel@...r.kernel.org>,
kernel-janitors@...r.kernel.org,
Julia Lawall <julia.lawall@...6.fr>
Subject: Re: [PATCH v2 1/3] xen-scsiback: Delete an unnecessary check before
the function call "kfree"
On 20/07/16 13:30, SF Markus Elfring wrote:
> From: Markus Elfring <elfring@...rs.sourceforge.net>
> Date: Tue, 19 Jul 2016 15:42:19 +0200
>
> 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>
Even if already given, here it is again:
Reviewed-by: Juergen Gross <jgross@...e.com>
Juergen
Powered by blists - more mailing lists